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 1: Setting the environment variable OGRE_HOME on Windows 8:

Example 2: Setting the environment variable OGRE_HOME on Windows 7:
Go to Control Panel -> System and Security -> System. From the left navigation panel choose Advanced system settings.
Click on Environmental varable button and enter in the fields
Variable name: OGRE_HOME and in
Variable value: your path to Ogre example: C:\OgreSDK\OgreSDK_vc10_v1-8-1
Image

That's it. :-)

 

Open the solution Ogre.sln with Visual Studio and build the project(could take a few minutes). Then Right click on sampleBrowser and choose: ‘Set as startup Project’.
RUN SampleBrowser and you can explore all the samples that are included with the Ogre Solution.
Image

 

 

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: gunnihelga2 points  , system , sharms281 points  , Mayazcherquoi346 points  , mannueru71 points  , Kojack903 points  , Jamie Fristrom6 points  , jacmoe177744 points  , excaliburHisSheath460 points  , cosme332 points  , breakpointer158 points  and barkbeetle89983 points  .
Page last modified on Saturday 12 of July, 2014 00:11:21 UTC by gunnihelga2 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.