Fullscreen
Building Ogitor         How to configure and build Ogitor from source

Prerequisites

Ogitor depends on Qt 4.5 (and later) and Ogre 1.7.


Qt Toolkit

Ogitor is using the Qt Toolkit for it's graphical interface.

Lucky Visual Studio 2008 users can grab a precompiled package here: http://qt.nokia.com/downloads/windows-cpp-vs2008(external link)

Other versions of Visual Studio: You need to compile Qt yourself, unfortunately. Using the MinGW based SDK won't do. Sorry. wink

You don't need to build the OpenGL parts of Qt, as Ogitor is not using any of it.

Be sure to add bin to your PATH. And a QTDIR environment variable needs to be set to the Qt root directory: setx QTDIR

To compile Qt from source:

  1. Open a Visual Studio command prompt and navigate to your Qt source.
  2. Run configure -platform win32-msvc2008 -nomake demos -nomake examples -no-opengl -no-qt3support. (Change platform to whatever compiler you are using).
  3. Run nmake.

 

Ogre

Ogitor stable (v0-4) depends on Ogre 1.7.x (Cthugha). Ogitor unstable (development) depends on Ogre 1.8.x (Byatis - Ogre unstable) If you compiled Ogre from source, be sure to build the INSTALL project.

Ogitor v0-4

You need to add an OGRE_CTHUGHA environment variable: setx OGRE_CTHUGHA \sdk

Ogitor development

You need to add an OGRE_BYATIS environment variable: setx OGRE_BYATIS \sdk

Boost:

Ogitor development is using Boost Regex.

Mercurial

Ogre is using Mercurial for source control. The easiest route is to install TortoiseHg(external link)

Ogitor sources

Get the source from: http://hg.ogitor.org/v0-4(external link) (current stable) or http://hg.ogitor.org/development(external link) (unstable) If you're using TortoiseHg: right-click somewhere and clone http://hg.ogitor.org/v0-4 / http://hg.ogitor.org/v0-4 Or, using the command-line: hg clone http://hg.ogitor.org/v0-4 ogitor for stable Ogitor. hg clone http://hg.ogitor.org/development ogitor for unstable Ogitor.

CMake

Get and install CMake 2.8 from cmake.org(external link), if you haven't got it already due to it being the official build system of Ogre.

Building Ogitor

  1. Run cmake-gui.
    Choose the Ogitor source directory and a build directory.
    The build directory should be different from you source directory.
    Click the 'configure' button.
  2. After choosing your build environment, you'll see red CMake entries.
    Click the configure button one more time, and examine the results.
    If everything look alright, click the generate button.
    Close CMake GUI.
  3. Find your build directory and open the Ogitor solution.

 


Contributors to this page: Jacob Moen .
Page last modified on Tuesday 11 of May, 2010 02:50:59 CEST by Jacob Moen.