after the new IOS 10.15 mac udate, my Clion gave me this Error. Anyone can help?
CMake Error at /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.14/Modules/CMakeTestCCompiler.cmake:60 (message):
The C compiler
"/usr/bin/cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/name/School/SEW/Vocabel_trainer/cmake-build-debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_324e8/fast
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
See also "/Users/name/School/SEW/Vocabel_trainer/cmake-build-debug/CMakeFiles/CMakeOutput.log".
See also "/Users/name/School/SEW/Vocabel_trainer/cmake-build-debug/CMakeFiles/CMakeError.log".
[Failed to reload]
Please sign in to leave a comment.
Hi!
Please open the Terminal, and run the following command: xcode-select --install. After that in CLion please do `Tools | CMake | Reset Cache and Reload Project`. It should help.