[HelpOnLanguages] [TitleIndex] [WordIndex]


1. Install dependencies

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

/!\ Notes for debian users: you need to be using debian unstable for some of the libs below.

## Main packages required
sudo apt-get install gdal-bin libgdal1-1.3.2-dev libgeos-dev libexpat1-dev cmake xorg-dev
sudo apt-get install proj libsqlite3-dev
sudo apt-get build-dep gdal proj
## Optional package for users / Mandatory package for developers
sudo apt-get install subversion
## Optional packages (for CSM algorithm)
sudo apt-get install libgsl0-dev libgsl0 
## Optional packages (for aquamaps algorithm)
sudo apt-get install libsqlite3-0 libsqlite3-dev sqlite3

2. Checkout source

cd ~
mkdir -p dev/cpp
cd dev/cpp
svn co https://openmodeller.svn.sourceforge.net/svnroot/openmodeller/trunk/openmodeller
cd openmodeller

3. Basic building

/!\ Notes for ubuntu feisty users: there is an error in the gdal package so, after running cmake, you should edit cmakecache.txt and replace "/build/buildd/gdal-1.3.2/debian/tmp" with nothing.

Run the following commands in the folder where you checked out openmodeller

mkdir build
cd build
cmake ..
sudo make install

4. Ensure the library loader path is correct

sudo vim /etc/ld.so.conf

Add the following line to the end of the file:


Save and quite vim then run

sudo ldconfig

2014-08-13 10:36