12
VS 2015命令提示中不再存在rc.exe
我刚刚安装了Windows 10 Creators Update(版本10.0.15063)。 我安装了多个版本的Visual Studio(2012、2013、2015和2017)。我仅在几周前安装了VS 2017。 问题 在“ VS2015 x64本机命令提示符”中运行时,CMake(版本3.8.1)不再找到C / C ++编译器(在VS 2017命令提示符中运行时,它确实可以正常工作)。 再生产 内容CMakeLists.txt: project (test) add_executable (test test.cpp) (的内容test.cpp无关紧要。) 在VS2015 x64本机命令提示符中进行CMake调用: > mkdir build > cd build > cmake -G "Visual Studio 14 2015 Win64" .. CMake输出: -- The C compiler identification is unknown -- The …