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
Other versions of Visual Studio: You need to compile Qt yourself, unfortunately.
Using the MinGW based SDK won't do. Sorry.
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:
- Open a Visual Studio command prompt and navigate to your Qt source.
- Run configure -platform win32-msvc2008 -nomake demos -nomake examples -no-opengl -no-qt3support. (Change platform to whatever compiler you are using).
- 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
Ogitor sources
Get the source from: http://hg.ogitor.org/v0-4
(current stable) or http://hg.ogitor.org/development
(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
, if you haven't got it already due to it being the official build system of Ogre.
Building Ogitor
- 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.
- 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.
- Find your build directory and open the Ogitor solution.