我目前正在尝试在CMake 3.10.0中编译一个项目,但它一直会出现上述错误框和以下内容。
The C compiler identification is unknown
The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CXX_COMPILER could be found.
Configuring incomplete, errors occurred!
See also "C:/build/CMakeFiles/CMakeOutput.log".
See also "C:/build/CMakeFiles/CMakeError.log".
我目前正在运行 Microsoft Visual Studio 15 2017,在配置它时,我使用的是 x64。