Visual Studio: MSB3073 error exited with code 1

来源:互联网 发布:科尔沁风干牛肉 知乎 编辑:程序博客网 时间:2024/06/08 11:00

Error 1 error MSB3073: The command “setlocal
“C:\Program Files (x86)\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” exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 132

默认的 CMAKE_INSTALL_PREFIX 是 C 盘,没有权限。
修改 CMAKE_INSTALL_PREFIX 到非当前文件夹即可。

0 0
原创粉丝点击