Pre-requisite:
- VS2010 Installed
Objectives:
- Install OGRE SDK and build your first APP
Descriptions:
- OGRE SDK can be downloaded from http://www.ogre3d.org/download/sdk
- Download the desired ogre3d SDK package.
- In this space we are using OGRE 1.8.1 SDK for Visual C++ .Net 2010 (32-bit) .
- Unpack it using http://www.7-zip.org/
- Put setenv.bat in the Folder contains OGRE.sln
- Run setenv.bat in administrator mode (right click)
- Get Ogre Appwizard at http://www.ogre3d.org/forums/viewtopic.php?f=5&t=54819
- Download the desired version.
- In this space we are using Ogre AppWizard 1.8.0 for Visual C++ 2010 Express (VC10)
- Run the installer
- Build first template ogre app
- Start your version of VS2010
- Start a new project
- F5 to start
- FAQs
- Cannot include "OgreCamera.h" in "BaseApplication.h"
- It's probably your environment variable is not properly set.
- If the setenv.bat isn't working, you need to goto : My Computer -> Right Click -> Properties -> Advanced System Settings -> Advanced -> Environment Variables -> New in Either user variables or system variables
- In Name fill in : "OGRE_HOME" (without quotation mark)
- In the Value fill in the folder name which contains OGRE.sln
- Cannot find D3D9XXXXXX.dll
- OGRE SDK is using DirectX 9 runtime plugin in default
- Try install DirectX 9 runtime : http://www.microsoft.com/en-us/download/details.aspx?id=34429
- I have windows 8 and I'm having problem in installing DirectX 9 Runtime
- Goto your <OGRE_HOME>\bin\debug\ and <OGRE_HOME>\bin\release\
- Open plugins_d.cfg and plugins.cfg (according to different directories)
- Add a "#" to the "Plugin=RenderSystem_Direct3D9_d" / "Plugin=RenderSystem_Direct3D9"
- If you have DirectX 11 installed, and you want to use DirectX 11, you can also delete the "#" in front of the directx 11 plugin to enable it
- Cannot include "OgreCamera.h" in "BaseApplication.h"