转载自http://blog.csdn.net/yzheately/article/details/50887512

VS一堆莫名其妙的配置选项,配置个PCL有种想杀人的冲动

错误 1 error MB3073: 命令“setlocal 
H:\PCL_BACKUP\PCL\CMake\bin\cmake.exe -DBUILD_TYPE=Release -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)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 132 5 INSTALL

解决办法:(install)项目–>属性–>生成事件–>后期生成事件–>在生成中使用–>否 
VS 编译PCL后 install报错

注:据说在运行vs时没有以管理员身份启动也会出现这种问题!


相关文章: