Uni-Konstanz Uni-Konstanz
Department of Computer and Information Science   Lecture  

Using LEDA



The following should work on our Linux machines in G228 using bash (in other shells the syntax of setting environment variables may differ). By the way, LEDA is also available for Windows.

Start a LEDA GraphWin:

  export LD_LIBRARY_PATH=/net/lin_local/LEDA/LEDA-4.2.gcc-2.95.3:$LD_LIBRARY_PATH
  /net/lin_local/LEDA/LEDA-4.2.gcc-2.95.3/demo/graphwin/graphwin
    

Use LEDA in Programming C++:

  export LEDAROOT=/net/lin_local/LEDA/LEDA-4.2.gcc-2.95.3
  export LD_LIBRARY_PATH=/net/lin_local/LEDA/LEDA-4.2.gcc-2.95.3:$LD_LIBRARY_PATH
  g++ -o foo -I$LEDAROOT/incl -L$LEDAROOT -L/usr/X11R6/lib -lL -lG -lP -lW -lX11 foo.cpp
     

View Documentation:

   /net/lin_local/LEDA/LEDA-4.2.gcc-2.95.3/online_manual/html/MANUAL.html

last change 2016-07-19