OGRE (Object-Oriented Graphics Rendering Engine)

Setting up an OGRE Application

 

This is a quick reference for setting up an application which uses OGRE. First off, lets talk about directories.

Directory Structure

Building and running an application based on OGRE involves ensuring that both the compiler and the runtime files can find all the dependent files they need.
During the build, we need to find:

At runtime, we need to find: The simplest way of ensuring that all the directory dependencies are satisfied is to build your application in the same place as the existing OGRE samples, (i.e. each in it's own subdirectory of 'Samples'), using the same settings.

For the more adventurous, you can build and run OGRE applications in any directory you like, you just have to make sure that the directories are set up properly. As I describe all the project settings you need, I will describe the 'easy' way and the 'advanced' way. Please try the easy way first if you are unsure.

The steps to follow

  1. Create an application folder
  2. Copy template source files
  3. Create a project file
  4. Build settings