How to build the toolchain under linux

From Rigs of Rods Wiki

Jump to:navigation, search

This should be replaced by the following: Compiling without the supplied 3rd party libraries

a word of warning

this tutorial is really complicated if you have no idea of how to fix minor things by yourself.

This guide is meant for experienced developers only!

the directory naming is important as the RoR buildsystem assumes it to be like this.

getting the dependencies

  1. create a directory called "Dependencies" (from now on called "D") somewhere on your HDD
  2. download the latest stable ogre SOURCE release into D/ogre: http://sourceforge.net/projects/ogre/files/ogre/1.7/ogre-v1-7-0.zip/download
  3. get the fitting ogre dependencies: http://sourceforge.net/projects/ogre/files/ (i.e. OgreDependencies_MSVC_20100106.zip) : unpack to D/ogre/Dependencies
  4. checkout the mygui svn trunk into D/mygui: https://my-gui.svn.sourceforge.net/svnroot/my-gui/trunk
  5. install the latest (precompiled) boost

building Ogre dependencies

notes: we only build release versions here for simplicity reasons

  1. go to D/ogre/Dependencies/src open the correct project and build the release build

building ogre

open cmake and fill out all missing dependencies, generate and build ogre in release mode

building mygui

fill the missing ogre and ois values in cmake and then build