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
- start the terminal
- 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:
- download the LibTIFF package (we used v3.8.2) from our download section or here and unzip it
- start the shell
- browse to the folder where you unzipped the LibTIFF files
- type "./configure" and enter
- type "make" and enter
- type "sudo make install" and enter (you will be asked to enter your system password)
Step 3: Compiling our sourcefiles
- download the source files from our download section
- start the terminal
- browse to the folder where the downloaded source files are located
- 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.