![]() ![]() The way to resolve this is simply remove all the CMake cache files, and rebuild everything to use the latest updated CMAKE_OSX_SYSROOT value. Instead, it has become a new version number … / MacOSX10.Y.sdk Reload the CMAKE (in Clion, this is a reload CMake file action). Here are a few steps to resolve the issueįirst, identify the problem. ![]() ![]() As a result, CMake can’t locate the new directory of the library files. The problem is that the sdk directory name has been updated on mac. My Clion project basically can’t compile any more. Soon my Cmake projects are complaining that they can’t find library files wchar, stdlib. Xcode-select –install (this installs the latest command line tools) I had to accept an agreement in my command line to use them. We have a bunch of Mac at work that no longer require Xcode or command line tools so wed like to remove them so the compilers arent hanging around and we dont have to keep updating them when updates arrive. This is a quick trouble shooting for issues with building with CMake (in Clion and other cmake based IDE) after a xcode update.Īfter updating xcode 9, I suddenly can’t use the old clang, g++ for my projects. ![]()
0 Comments
Leave a Reply. |