windows环境cmake异常
-
问题如下:
> cmake ..
CMake Error at CMakeLists.txt:4 (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! -
解决
安装visual studio installer 安装windows software developments kit 和 Windows的C++ CMake工具:
和