How to fix it in Clion
"C:\Program Files\JetBrains\CLion 2023.2.1\bin\cmake\win\x64\binlcmake.exe" -DCMAKE_BUILD_TYPE=Debug "-DCMAKĖ_MAKE_PROGRAM=C:/Program Files/JetBrains/CLion 2023.2.i/bin/ni
-- Running vcpkg install
error: while checking out baseline from commit '215a2535590f1f63788ac9bd2ed58ad15e6afdff", failed to git show versions/baseline.json. This may be fixed by fetching commi
error: git failed with exit code: (128).
fatal: path 'versions/baseline.json' exists on disk, but not in '215a2535599f1f63788ac9bd2ed58ad15e6afdff'
while checking out baseline 215a2535590f1f63788ac9bd2ed58ad15e6afdff
-- Running vepkg install - failed
CHake Error at C:/users/user/.vcpkq-clion/vcpkq/scripts/buildsystems/vcpkq.cmake:892 (message): Debug ExplainwithAl
vcpkg install failed. See logs for more information:
C:\Users\user\CLionProjects\simple-sokoban-project|sokoban\cmake-build-debug\vcpkg-manifest-install.log
Call Stack (most recent call first):
C:/Program_Files/JetBrains/CLion_2023.2.1/bin/cmake/win/x64/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:148 (include)
CMakeLists.txt:2 (project)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage Debug Explain withAl
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage Debug Explainwith Al
Configuring incomplete, errors occurred!
#problem with Cmake
4 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
Try reinstalling VCPKG under ~/.vcpkg-clion/vcpkg or delete the folder and reinstall clion (your vcpkg is bundled) - something is wrong with your existing files there, which means the vcpkg toolchain is failing, and thus not setting those variables
This question is being automatically marked as stale.
If your question has been answered, type !solved.
If your question is not answered feel free to bump the post or re-ask.
Take a look at !howto ask for tips on improving your question.