[HelpOnLanguages] [TitleIndex] [WordIndex]

LinuxBuildInstructions

Before you begin installing omgui you will need to "build the oM library". Please note that these instructions are for building oMGUI1 (the current development version of oMGUI). If you want a version of oMGUI for reliable modelling results please see the instructions on the DownloadProgram page.

1. Install Qt4.1

I assume you have a working gcc etc to do the compiling.

/!\ Notes for ubuntu users: you need to make sure that the following dependencies are installed.

sudo apt-get install libxrender-dev libxrandr-dev libxcursor-dev libxinerama-dev  \
libfontconfig-dev libxext-dev libx11-dev libxi-dev libsm-dev libx11-dev 

Now retrieve and extract the Qt4 sources...

mkdir -p $HOME/installers
mkdir -p $HOME/src
cd ~/installers
wget ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-4.1.0.tar.gz
cd ~/src
tar xfz ~/installers/qt-x11-opensource-src-4.1.0.tar.gz
cd qt-x11-opensource-src-4.1.0

Now start the build of Qt4.1 ...

./configure -prefix /usr/local/Trolltech/Qt-4.1.0 
make 
sudo make install

2. Checkout Source from CVS

Anonymous access:

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/openmodeller login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/openmodeller co -P omgui1

Developer access:

export CVSROOT=[your_sf_user_name]@cvs.sourceforge.net:/cvsroot/openmodeller
export CVS_RSH=ssh
cvs co omgui1

3. To build omgui1

If necessary edit build.sh and check that all the paths etc are correct (usually not needed if you followed the instructions above).

cd omgui1
./build.sh

4. To Run omgui1

./omgui1

2014-08-13 10:45