Pre-requisite:

  1. VS2010 Installed

Objectives:

  1. Install OGRE SDK and build your first APP

Descriptions:

  1. OGRE SDK can be downloaded from http://www.ogre3d.org/download/sdk
    1. Download the desired ogre3d SDK package.
    2. In this space we are using OGRE 1.8.1 SDK for Visual C++ .Net 2010 (32-bit) .
    3. Unpack it using http://www.7-zip.org/
    4. Put setenv.bat in the Folder contains OGRE.sln
    5. Run setenv.bat in administrator mode (right click)
  2. Get Ogre Appwizard at http://www.ogre3d.org/forums/viewtopic.php?f=5&t=54819
    1. Download the desired version.
    2. In this space we are using Ogre AppWizard 1.8.0 for Visual C++ 2010 Express (VC10)
    3. Run the installer
  3. Build first template ogre app
    1. Start your version of VS2010
    2. Start a new project
    3. F5 to start
  4. FAQs
    1. Cannot include "OgreCamera.h" in "BaseApplication.h"
      1. It's probably your environment variable is not properly set.
      2. 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
      3. In Name fill in : "OGRE_HOME" (without quotation mark)
      4. In the Value fill in the folder name which contains OGRE.sln
    2. Cannot find D3D9XXXXXX.dll
      1. OGRE SDK is using DirectX 9 runtime plugin in default
      2. Try install DirectX 9 runtime : http://www.microsoft.com/en-us/download/details.aspx?id=34429
    3. I have windows 8 and I'm having problem in installing DirectX 9 Runtime
      1. Goto your <OGRE_HOME>\bin\debug\ and <OGRE_HOME>\bin\release\
      2. Open plugins_d.cfg and plugins.cfg (according to different directories)
      3. Add a "#" to the "Plugin=RenderSystem_Direct3D9_d" / "Plugin=RenderSystem_Direct3D9"
      4. 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