-
Notifications
You must be signed in to change notification settings - Fork 7
Compiling NxGraphics Dependencies
Stephane Kyles edited this page Feb 15, 2015
·
44 revisions
COMPILATION ON WINDOWS ( Targeting Windows or Android )
You will need
- CMake (http://www.cmake.org).
- Microsoft Visual Studio 2012
- download latest NxGraphics source dependencies package : here
- unpack NxGraphicsDeps
- download and copy Ogre3D source (1.9) to NxGraphicsDeps/src/Ogre
( overwrite the existing CmakeLists.txt )
the path should look like NxGraphicsDeps/src/Ogre/OgreMain
Windows:
- download Ogre3D dependencies : here
- decompress the file, and open folder with cmake gui, click "configure"
- if you are missing dinput8.lib, you should download the windows kit.
- if you are missing d3d9.lib you are missing the Microsoft DirectX SDK (June 2010).
- click generate, then open OGREDEPS.sln in Visual Studio, choose "Release", then build.
- once compilation succeeded, right click "install" project then build, this will copy required files.
- copy ogredeps folder to NxGraphicsDeps/src/Ogre/
- open NxGraphicsDeps folder with cmake gui, click "configure".
- in cmake gui, goto the attribute OGRE_DEPENDENCIES_DIR, and copy the path to your ogredeps folder.
- re click "configure"
- untick
BUILD_CURL_EXE BUILD_CURL_TESTS Ogre_BUILD_SAMPLES Ogre_BUILD_RENDERSYSTEM_D3D11 Ogre_BUILD_TOOLS Ogre_INSTALL_DOCS Ogre_INSTALL_PDB Ogre_INSTALL_SAMPLES Ogre_INSTALL_TOOLS - re click "configure"
Android:
- download Ogre3D dependencies : here