一杯清酒邀明月
天下本无事,庸人扰之而烦耳。

bulid INSTALL工程时,发生如下错误:

 1 error MSB3073: The command "setlocal
 2 E:\cmake3.0.0\CMake\bin\cmake.exe -DBUILD_TYPE=Debug -P cmake_install.cmake
 3 if %errorlevel% neq 0 goto :cmEnd
 4 :cmEnd
 5 endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
 6 :cmErrorLevel
 7 exit /b %1
 8 :cmDone
 9 if %errorlevel% neq 0 goto :VCEnd
10 :VCEnd" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 132 5 INSTALL

查看输出信息发现是由于VS2013没有权限:

解决方法:以管理员身份运行VS2013

posted on 2020-07-31 13:33  一杯清酒邀明月  阅读(574)  评论(0编辑  收藏  举报