31.01.2014 Views

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Possible values for are ”-ML”, ”-MLd”, ”-MD”, ”-MDd”, ”-MT”, and ”-<br />

MTd”. You have to use the <strong>LEDA</strong> libraries that correspond to the chosen ,<br />

e.g., with option ”-MD” you must use libl md.lib, libg md.lib, .... Using<br />

another set of libraries with ”-MD” could lead to serious linker errors.<br />

Remark: <strong>The</strong> option -Tp is necessary if the C++ source code files have extension<br />

.c. If your files have extension .cpp this option is not necessary.<br />

Example programs and demos<br />

<strong>The</strong> source code of all example and demo programs can be found in the directory<br />

\test and \demo. Goto and type make test or make demo to compile<br />

and link all test or demo programs, respectively.<br />

A.10 DLL’s for MS Visual Studio 6<br />

This section describes the installation and usage of <strong>LEDA</strong> Dynamic Link Libraries (DLL’s)<br />

with Microsoft Visual Studio 6.<br />

Remark: This section describes the situation in a GUI package of <strong>LEDA</strong>. If you have<br />

the geometry, graph, or basic package only the corresponding libraries are provided.<br />

Preparations<br />

To install <strong>LEDA</strong> you only need to execute the <strong>LEDA</strong> distribution file<br />

<strong>LEDA</strong>---win32-.exe. During setup you can choose<br />

the name of the <strong>LEDA</strong> root directory and the parts of <strong>LEDA</strong> you want to install.<br />

<strong>The</strong>n you have to set the environment variable <strong>LEDA</strong>ROOT as follows:<br />

1. Windows NT/2000/XP: On these platforms <strong>LEDA</strong>RROOT is set automatically to the<br />

directory where you installed <strong>LEDA</strong> by the setup program.<br />

2. Windows 95/98:<br />

(a) Add the line set <strong>LEDA</strong>ROOT= to the file ”autoexec.bat” where <br />

is the root directory of your <strong>LEDA</strong> installation, e.g., D:\<strong>LEDA</strong>-4.4\<br />

(b) Restart Windows 95/98 for the change to take effect.<br />

Files and Directories<br />

To compile and link your programs with <strong>LEDA</strong>, the <strong>LEDA</strong> main directory should contain<br />

the following files and subdirectories:<br />

Readme.txt<br />

Install\win32 msc60 dll.txt<br />

incl\<br />

man html\<br />

Readme File<br />

txt–version of this section<br />

the <strong>LEDA</strong> include directory<br />

HTML version of the <strong>LEDA</strong> user manual

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!