其他分享
首页 > 其他分享> > cmake问题

cmake问题

作者:互联网

cmake报错:
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
cmake_minimum_required called with unknown argument "3.24".

CMake Error at CMakeLists.txt:2 (project):
Running

'nmake' '-?'

failed with:

系统找不到指定的文件。

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "D:/CB_FILE/cmakestudy/CMakeFiles/CMakeOutput.log".

处理方法:
我本地的编译器时mingw 编译时把cmake .改成cmake -G "MinGW Makefiles"

标签:CMakeLists,set,CMake,问题,minimum,Error,cmake
来源: https://www.cnblogs.com/fashow/p/16534034.html