... at IWR Heidelberg

Compiling the source code on UNIX-based Systems

We tried this way on debian-based ubuntu 7.10, so you might have to go another way to install a compiler. The following steps should be valid for debian-based UNIX-Systems (e.g. kubuntu, ubuntu):
Step 1: Installing a compiler and the libtiff library

  1. start the terminal
  2. enter "apt-get install build-essential libtiff4 libtiff4-dev" (you will be asked to enter your system password)
    This will install a c-compiler (gcc) and the libtiff-library


An other way to install the libtiff-library:

  1. download the LibTIFF package (we used v3.8.2) from our download section or here and unzip it
  2. start the shell
  3. browse to the folder where you unzipped the LibTIFF files
  4. type "./configure" and enter
  5. type "make" and enter
  6. type "sudo make install" and enter (you will be asked to enter your system password)
More detailed information can be found here.


Step 3: Compiling our sourcefiles

  1. download the source files from our download section
  2. start the terminal
  3. browse to the folder where the downloaded source files are located
  4. type "gcc -O3 -DLINUX -std=c99 -o terrain terrain.c -ltiff" and enter (this will create an executable file named "terrain" in the same folder)


Step 4: Compiling the delaunay-program
Compile the source code of the triangle-program and put the binary-file into the same folder as the terrain-binary. Visit the offical page for more information.


Click here to get back to the documentation overview.