Nav*_*tty 5 msbuild cmake visual-studio-2015
我正在尝试使用 Visual Studio 2015 和 CMake 在我的计算机上构建一个开源项目。我已遵循所有步骤,并且预构建检查运行正常。但是,当我构建 INSTALL 以将软件安装在我在 CMAKE gui 中指定的文件夹中时,我收到 MSB3073 错误。错误的完整描述如下。
Severity Code Description Project File Line Suppression State Error
MSB3073 The command "setlocal
"C:\Program Files (x86)\CMake\bin\cmake.exe" -DBUILD_TYPE=RelWithDebInfo -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.
INSTALL C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 133
Run Code Online (Sandbox Code Playgroud)
我搜索了相同的错误,发现一些尝试在没有写权限的目录中安装构建的人遇到了这个问题,但我已确保我具有写访问权限。我什至尝试使用管理员权限执行此操作,但仍然无法解决此问题。
对此的任何帮助将不胜感激。
Nav*_*tty -9
cmake_install.cmake 文件之一存在错误,并导致了该问题。一旦我解决了这个问题,它就起作用了。
| 归档时间: |
|
| 查看次数: |
10622 次 |
| 最近记录: |