Linux System Setup
Introduction
For developing iMEDgine you need to install several libraries:
QT 4, latest stable version from http://www.trolltech.com/ ITK, latest stable version from http://www.itk.org/ Coin, latest stable version from http://www.coin3d.org/lib/coin SoQT?, cvs version, see below or http://www.coin3d.org/lib/soqt/cvs SimVoleon?, latest stable version from http://www.coin3d.org/lib/simvoleon
QT
Use your package management system or install it manually
Take care that you have openGL Support enabled, usually you will need a libgl-mesa-dev and the xlibs-dev package
CMake
Use the latest CMake from the website as it is intensively developed at the moment.
ITK
Download and extract it, then run
ccmake .
in the respective directory and disable BUILD_EXAMPLES and BUILD_TESTING. This greatly reduces needed space on your harddisk and compile time.
Then run
cmake . make make install
Coin
When installing Coin don't forget to make it threadsafe:
./configure --enable-threadsafe make make install
SoQT
As of July 31 2006 there was no stable version of SoQT released that is able to work with QT 4. Therefore it is necessary to use the following cvs snapshot: SoQt-20060322.tar.gz
Before compiling check the QTDIR enviroment variable. It should point to your qt4 location, for example /usr/lib/qt4/ To do so (temporaly) execute:
QTDIR='/usr/lib/qt4/' export QTDIR
Furthermore SoQT expects that the include and lib directories are subdirectories of QTDIR, which is not always the case with qt4. Change into QTDIR and create a softlink to the actual include and lib paths. An example:
ln -s /usr/include/qt4/ include ln -s /usr/lib/qt4/ lib ./configure make make install
SimVoleon
To install SimVoleon simply execute:
./configure make make install