... at IWR Heidelberg

Compiling the source code with MacOS


Step 1: Installing a compiler
We recommend using the Xcode Developer Tool. This is the standard IDE (integrated development environment) for Mac OS X, provided by Apple, which comes with an Apple version of the GNU Compiler Collection (GCC). You can install it from your Mac OS X installation disk, but better is to check the Apple Developer Connection site to get the newest version after a free registration: connect.apple.com


Step 2: Building the libtiff library

  1. download the LibTIFF package from our download section or here and unzip it
  2. start the terminal
  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)


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 -DMACOS -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.