Installing the Ogre SDK         The necessary steps you need to take to install the precompiled OGRE SDK
Print

Image
This details the necessary steps you need to take to install the precompiled OGRE SDK.
If you want to build Ogre from source instead, visit the Building Ogre page.

 


Prerequisites:

  1. Go to http://www.ogre3d.org/download/sdk(external link).
  2. Download the SDK matching your IDE version.
  3. Download and install DirectX: directx_Jun2010_redist.exe(external link)

 

Run the installer:

Image

Unpack to a suitable location:

Image

Go to the directory of the newly installed sdk and copy the full path:

Image

Setting the Environment Variable, OGRE_HOME.

Now, you need to set the %OGRE_HOME% environment variable. This environment variable enables you, the developer, to easily switch between different OgreSDK versions and transfer/compile Ogre3D projects of other users (portability).

To set this environment variable, enter the following in any Command Prompt window (Windows Vista/7/8/newer):

setx OGRE_HOME "<path-to-OgreSDK-here>"

If you are using Windows XP, or any prior Windows version, you will need to use the 'set' command, like so:

set OGRE_HOME="<path-to-OgreSDK-here>"

Take note of the use of quotation marks, as they are required, otherwise you will get several 'file not found' errors when trying to compile any Ogre3D project.

Example: Setting the environment variable OGRE_HOME on Windows 8:

That's it. :-)

 
To compile the samples, first install CMake. Then open OGRE.sln with Visual Studio, set SampleBrowser as your StartUp Project, build and run.

 

Next Step:

Now you are ready to go to Setting Up an Application, and/or visit the Tutorials.




Alias: Installing An SDK
Alias: Installing_An_SDK
Alias: Installing_the_Ogre_SDK_on_Mac_OS_X


Contributors to this page: excaliburHisSheath6 points  , system , sharms266 points  , Mayazcherquoi341 points  , mannueru71 points  , Kojack812 points  , Jamie Fristrom6 points  , jacmoe171980 points  , cosme332 points  , breakpointer158 points  and barkbeetle89933 points  .
Page last modified on Saturday 15 of February, 2014 19:58:24 UTC by excaliburHisSheath6 points .


The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.
As an exception, any source code contributed within the content is released into the Public Domain.