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.

and at least one of the following dll/library sets<br />

• leda ml.dll, leda ml.lib, libGeoW ml.lib<br />

• leda mld.dll, leda mld.lib, libGeoW mld.lib<br />

• leda md.dll, leda md.lib, libGeoW md.lib<br />

• leda mdd.dll, leda mdd.lib, libGeoW mdd.lib<br />

• leda mt.dll, leda mt.lib, libGeoW mt.lib<br />

• leda mtd.dll, leda mtd.lib, libGeoW mtd.lib<br />

Note: A DLL of GeoWin is currently not available.<br />

Compiling and Linking in Microsoft Visual Studio 6<br />

You can choose between a manual and an automatic way to compile and link an application<br />

program using <strong>LEDA</strong> in Microsoft Visual Studio.<br />

Automatic Setting<br />

Include header file <strong>LEDA</strong>/msc/autolink dll.h in one of your project’s cpp-files. Depending<br />

on your build environment (Debug or Release build) the correct <strong>LEDA</strong> dll will be<br />

chosen automatically when you build your project. Proceed with step 18 of the manual<br />

setting.<br />

<strong>Manual</strong> Setting<br />

(1) In the ”File” menu of Visual Studio 6 click on ”New”<br />

(2) Choose ”Win 32 Console Application” in ”Projects”, fill in the project name, and<br />

click ”OK”<br />

(3) Choose ”Empty Project” and click ”Finish”<br />

(4) After clicking ”OK” you have an empty project space<br />

If you already have a source file prog.cpp:<br />

(5) Activate the file browser and add prog.cpp to the main folder of your project<br />

(6) Click on ”Properties–¿Add to Project–¿Files”<br />

(7) Double click on prog.cpp<br />

If you want to enter a new source file:

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

Saved successfully!

Ooh no, something went wrong!