History: Installing the Ogre SDK
Preview of version: 39
|
|
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. |
{VERSIONS(nav="y",title="y",default="Microsoft Windows")}
Prerequisites:
- Go to http://www.ogre3d.org/download/sdk.
- Download the SDK matching your IDE version.
- Download and install DirectX: directx_aug2009_redist.exe
Run the installer:
Unpack to a suitable location:
Go to the directory of the newly installed sdk and copy the full path:
Open a command window and set the environment variable OGRE_HOME to point to that path.
You just copied the path so you should be able to paste in into the command window after 'setx OGREHOME ':
setx OGRE_HOME D:\OgreSDK\OgreSDK_vc9_v1-7-1
Windows XP or previous
set OGRE_HOME="D:\OgreSDK\OgreSDK_vc9_v1-7-1"
That's it. :)
TODO: Write how to compile the samples. 😊
-(Linux)-
This section is for developers willing to install a precompiled Software Development Kit (SDK) under Linux platform.
Unix users typically compile their own sources for almost all software, including Ogre.
However pre-built binaries are available for a handful of distributions. See below for yours.
Ubuntu
{DIV()}
Ubuntu 10.04 LTS, 10.10 and 11.04:
- add this PPA: ppa:ogre-team/ogre
- update your packages list
- install libogre-dev package
See this link if you don't know how use a PPA (Personal Package Archive).
If you want use commands:
- add OGRE PPA with: sudo add-apt-repository ppa:ogre-team/ogre
- update your package list with: sudo apt-get update
- install libogre-dev package with: sudo apt-get install libogre-dev
-(Mac OS X)-
This section is for developers willing to install a precompiled Software Development Kit (SDK) under Mac OS X platform.
Once you have OGRE downloaded and setup, learn how to setup your first application.
- Go to http://www.ogre3d.org and click on Download.
- Next click on Download a Prebuilt SDK.
- Download the latest OSX SDK.
- Double-click the .dmg to mount it
- Drag & drop the OgreSDK folder wherever you like to install the SDK
- Install CMake for building the samples. Version 2.8.0 is said to be the most stable version for this. Cmake v2.8
- You might need this as well CG Toolkit
- Start up Xcode and load the OgreSDK/OGRE.xcodeproj to build the samples. You probably want to build the debug versions of these. It will give you more insight when things go wrong. Make sure you select that from the build type dropdown.
- After you have built the samples look for them in OgreSDK/bin/debug. You should see SampleBrowser.app in there. Fire it up!
{VERSIONS}
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