我在用Visual 2015安装OpenSceneGraph时遇到了一些问题。
我遵循了这个老教程:How to build OpenSceneGraph from source and third party dependencies?,它在某个时候失败了
以下是我迄今所做的工作:
declaration of 'xxx' hides previous local declaration然后,当我试图构建安装时,它会在此错误之后失败:
Error MSB3073 The command "setlocal
"C:\Program Files\CMake\bin\cmake.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" exited with code 1. INSTALL C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 133 我做错什么了?
谢谢
发布于 2017-06-05 10:33:40
它要求安装管理权限。更改CMAKE_INSTALL_PREFIX图形用户界面中CMake中的位置。
https://stackoverflow.com/questions/40855407
复制相似问题