(Chinese) No CMAKE_C_COMPILER could be found.
已经能够找到了Visual Studio 2017 但是为什么编译器会没找到? 是不是我安装vs2017的时候有什么必要的选项没有勾选,或者安装之后我有什么环境变量没有设置? 我使用的是cmake 3.8.2版本,之前在安装了vs2015的机器上构建成功,但是我现在使用的机器上只有vs2017,以下是我的出错日志, `
D:\repositories\projects_cpp\ziptest\build>cmake ..
-- Building for: Visual Studio 15 2017
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_CXX_COMPILER could be found.
-- Configuring incomplete, errors occurred!
See also "D:/repositories/projects_cpp/ziptest/build/CMakeFiles/CMakeOutput.log".
See also "D:/repositories/projects_cpp/ziptest/build/CMakeFiles/CMakeError.log".
`