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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

cl -TP prog.c <br />

Programs using graph data types:<br />

cl -TP prog.c <br />

Programs using geometric data types:<br />

cl -TP prog.c <br />

Programs using three-dimensional data types:<br />

cl -TP prog.c <br />

Programs using graphics data types:<br />

cl -TP prog.c \<br />

wsock32.lib user32.lib gdi32.lib comdlg32.lib shell32.lib advapi32.lib<br />

Programs using GeoWin:<br />

cl -TP prog.c \<br />

wsock32.lib user32.lib gdi32.lib\<br />

comdlg32.lib shell32.lib advapi32.lib<br />

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.12 DLL’s for MS Visual C++ .NET<br />

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

with Microsoft Visual C++ .NET.<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.

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

Saved successfully!

Ooh no, something went wrong!