我正在尝试使用Windows 10上的Visual Studio 2015构建Google Test。我将以项目符号的形式描述我的确切方法(以明确我所做的事情)。如果这不符合网站的格式,请告诉我,我会更改它。
C:\
C:/googletest-master/googletest
C:/googletest-master/googletest/build
Visual Studio 14 2015
。在我的情况下"使用默认的本机编译器"被选中。单击“完成”。C:\googletest-master\googletest\build\gtest.sln
。构建失败,输出窗口(构建)显示的信息不再如下:
1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 9009.
2>------ Build started: Project: gtest, Configuration: Debug Win32 ------
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 9009.
3>------ Build started: Project: gtest_main, Configuration: Debug Win32 ------
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 9009.
4>------ Build started: Project: ALL_BUILD, Configuration: Debug Win32 ------
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 9009.
========== Build: 0 succeeded, 4 failed, 0 up-to-date, 0 skipped ==========
我错过了什么重要的一步?我试过了:
谷歌搜索"google test" "exited with code 9009"
只返回9个结果,这些看起来不太相关。