2016-11-28 93 views
0

我有一些麻烦与Visual Studio安装OpenSceneGraph的2015年安装OpenSceneGraph的视觉2015年

我跟这个老教程:How to build OpenSceneGraph from source and third party dependencies?,并在某些时候

这里失败是我到目前为止已经完成:

  • 下载OSG 3.4从这个链接:https://github.com/openscenegraph/OpenSceneGraph/tree/OpenSceneGraph-3.4.0

  • 建立与CMake的(我不知道在这里,我的编译器设置到Visual Studio 2015年14赢64,我还没有跟刚刚的Visual Studio 2015年14)

  • 构建ALL_BUILD尝试,在那之后我有很多的警告: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 

我在做什么错?

谢谢

回答

0

这是要求管理员权限来安装。在CMake GUI中更改CMAKE_INSTALL_PREFIX中的位置。

相关问题