Open Graph Drawing Framework
current version:
v.2007.11 (Bubinga)
   
 

Installation (Linux/Mac)

  • Download the OGDF package from here and unpack in the directory, where you want to install OGDF.
  • Build OGDF (gcc Compiler):
    1. Edit makeMakefile.config for your configuration (if necessary): check the [GENERAL] section. If you do not use Coin, the default parameters should be suitable.
    2. Execute makeMakefile.sh to generate a suitable Makefile.
    3. Call make to build the OGDF library (you may also call make debug to generate a debuggable version).

Optional Features

Some algorithms in OGDF require additional LP-solver libraries. These algorithms will not be compiled by default. If you want to use them, you need to install

and switch compiling on by editing makeMakefile.config and setting the variable useCoin to true. The [COIN] section of your config file should look like this:

[COIN]
useCoin = true                  # turn Coin-support on
coinIncl = /???/COIN/include    # path to Coin include-directory (adapt)
solver_name = COIN_OSI_???      # which LP-solver shall Coin use: use any of
                                #    COIN_OSI_CLP = Coin's own LP-solver
                                #    COIN_OSI_CPX = CPLEX solver
                                #    COIN_OSI_SYM = Coin's Symphony framework
solver_incl = /???/include      # path to the LP-solver's include-directory (adapt)

The compilation of OGDF does not require the actual librarys. Anyhow, for compiling your own program against OGDF, you have to give gcc the according paths and specifications!

Build Documentation

It is also possible to create the source code documentation directly from the source files if you have Doxygen installed. You will also need to have LaTeX and Ghostscript installed so that Doxygen can create images from formulas. To build the OGDF HTML documentation, type

make doxy

in the root directory of the OGDF installation. The documentation will then be written to doc/html.

 
tech/installgcc.txt · Last modified: 13:58 23.11.2007 by carsten
This page is driven by DokuWiki