2016-11-28 87 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中的位置。

相關問題