问题描述
- vs2013安装vtk/cmake错误
- 错误 1 error MSB3073: 命令“setlocal
D:Program FilesCMakebincmake.exe"" -DBUILD_TYPE=Debug -P cmake_install.cmake
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
:VCEnd”已退出,代码为 1。 C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V120Microsoft.CppCommon.targets 132 5 INSTALL输出
1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V120Microsoft.CppCommon.targets(1325): error MSB3073: 命令“setlocal
1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V120Microsoft.CppCommon.targets(1325): error MSB3073: ""D:Program FilesCMakebincmake.exe"" -DBUILD_TYPE=Debug -P cmake_install.cmake
1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V120Microsoft.CppCommon.targets(1325): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V120Microsoft.CppCommon.targets(1325): error MSB3073: :cmEnd
1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V120Microsoft.CppCommon.targets(1325): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V120Microsoft.CppCommon.targets(1325): error MSB3073: :cmErrorLevel
1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V120Microsoft.CppCommon.targets(1325): error MSB3073: exit /b %1
1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V120Microsoft.CppCommon.targets(1325): error MSB3073: :cmDone
1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V120Microsoft.CppCommon.targets(1325): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V120Microsoft.CppCommon.targets(1325): error MSB3073: :VCEnd”已退出,代码为 1。
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========
解决方案
http://blog.csdn.net/chinamming/article/details/16842619