Next: Source Code on Windows
Up: Technical Information
Previous: Contents of a LEDA
Contents
Index
Subsections
Important remark: When compiling the sources on Unix- or Linuxsystems the development packages
for X11 and Xft should be installed. On Ubuntu, for instance, you should call
sudo apt-get install libx11-dev
sudo apt-get install libxft-dev
- Go to the LEDA main directory.
- Type: lconfig <cc> [static | shared]
where <cc> is the name (or command) of your C++ compiler
and the optional second parameter defines the kind of libraries
to be generated. Please note that as far as Unix systems go, we currently
only support several Linux distributions. LEDA might work on other Unix systems, too - it
was originally developed, for instance, on SunOS - but there is no guarantee for that.
Examples: lconfig CC, lconfig g++, lconfig
sunpro shared
lconfig without arguments prints a list of known compilers.
If your compiler is not in the list you might have to
edit the <LEDA/sys/unix.h> header file.
Type make for building the object code library
libleda.a (libleda.so if shared libraries are used). The make command will
also have another library created named libGeoW.a; it only deals with the data type GeoWin.
There is no shared version of the this library available.
Now follow the instructions given in Section UnixObjectCodePackage.
Next: Source Code on Windows
Up: Technical Information
Previous: Contents of a LEDA
Contents
Index