更新到High Sierra后,mac上的Cmake错误

时间:2017-10-08 20:25:30

标签: macos cmake macos-high-sierra

将我的mac升级到High Sierra后,我收到以下cmake错误。我通过brew卸载它并重新安装它并且错误保持不变。有什么想法怎么办?

CMake Error: Could not find cmake module file: CMakeDetermineAlgorithmusCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_Algorithmus_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_Algorithmus_COMPILER
CMake Error: Could not find cmake module file: /Users/la/Desktop/test/CMakeFiles/3.9.4/CMakeAlgorithmusCompiler.cmake
CMake Error: Could not find cmake module file: CMakeDeterminefirsthit_Compiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_firsthit__COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_firsthit__COMPILER
CMake Error: Could not find cmake module file: /Users/la/Desktop/test/CMakeFiles/3.9.4/CMakefirsthit_Compiler.cmake
CMake Error at CMakeLists.txt:5 (project):
  No CMAKE_Algorithmus_COMPILER could be found.

  Tell CMake where to find the compiler by setting the CMake cache entry
  CMAKE_Algorithmus_COMPILER to the full path to the compiler, or to the
  compiler name if it is in the PATH.


CMake Error: Could not find cmake module file: CMakeAlgorithmusInformation.cmake
CMake Error at CMakeLists.txt:5 (project):
  No CMAKE_firsthit__COMPILER could be found.

  Tell CMake where to find the compiler by setting the CMake cache entry
  CMAKE_firsthit__COMPILER to the full path to the compiler, or to the
  compiler name if it is in the PATH.


CMake Error: Could not find cmake module file: CMakefirsthit_Information.cmake
CMake Error: CMAKE_Algorithmus_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_firsthit__COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

0 个答案:

没有答案