Compiling on Linux
Compiling SGeMS on Linux (Ubuntu in particular) system is easier than on windows. The Inverse Modeling and Geostatistics project at the technical University of Denmark has produced the best guide to install sgems on Linux machine. See here for the instructions.
The instructions for the qt3 version are available on bigbrovar website.
The instructions below are old and not as good as the above links.
sudo get-apt install command or synaptic get :
- Coin (lib4coin40-dev and lib4coin40c2)
- SoQt (libSoQt40-dev, libsoqt40-20 and libsoqt-dev-common)
- Python2.x (with Python-dev)
Download simvoleon from the Coin svn system. The command is:
$ svn co https://svn.coin3d.org/repos/SIMVoleon/trunk SIMVoleon
The default installation path of Simvoleon is different than those of coin and soqt. It is simpler to have simvoleon build at the same location by giving the command
configure the parameter
The file INSTALL in the SIMVoleon folder contains more information.
Download GsTLAppli from SNV (latest)
svn co https://sgems.svn.sourceforge.net/svnroot/sgems sgems
If you want an older version of the code, it may be available on CVS:
cvs -z3 -d:pserver:email@example.com:/cvsroot/sgems co -P GsTLAppli-qt4
Download GstL from CVS
cvs -z3 -d:pserver:firstname.lastname@example.org:/cvsroot/gstl co -P GsTL
In GsTLAppli-qt4 folder
.qmake.cacheand modify the path variables. One common mistake when setting the paths in
.qmake.cache: the top-level directory of GsTL contains a directory that is also called GsTL and contains the source files. The
GSTLHOMEvariable must be set to the top-level directory, not to the nested GsTL directory. So
/tmp/GsTL/GsTL. Similarily, the top-level directory of SGeMS contains a directory called
If you want to compile in release mode, edit "config.qmake" and change line:
CONFIG += debug warn_on
CONFIG += release warn_on
warn_onto decrease the number of compiler warnings)
qmake) to generate the top-level makefile.
The executable will be output to
$GSTLAPPLI_HOME/bin/linux/sgems. It will probably be necessary to set
LD_LIBRARY_PATHso linux can find the sgems shared libraries. These libraries are in
$GSTLAPPLI_HOME/plugins/designer/libGsTLwidgets.sois a plug-in for Qt. If Qt can't find that plug-in, parts of the interface will be missing. You can copy
$QTDIR/plugins/designer, or use qtconfig to add a new plug-ins search path.
Before you run the software, define a variable called
GSTLAPPLIHOMEto point to the root directory of SGeMS .