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.

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 lib.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<br />

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

• libl ml.lib, libg ml.lib, libp ml.lib, libw ml.lib, libgeow ml.lib,<br />

libd3 ml.lib<br />

• libl mld.lib, libg mld.lib, libp mld.lib, libw mld.lib,<br />

libgeow mld.lib, libd3 mld.lib<br />

• libl md.lib, libg md.lib, libp md.lib, libw md.lib, libgeow md.lib,<br />

libd3 md.lib<br />

• libl mdd.lib, libg mdd.lib, libp mdd.lib, libw mdd.lib,<br />

libgeow mdd.lib, libd3 mdd.lib<br />

• libl mt.lib, libg mt.lib, libp mt.lib, libw mt.lib, libgeow mt.lib,<br />

libd3 mt.lib<br />

• libl mtd.lib, libg mtd.lib, libp mtd.lib, libw mtd.lib,<br />

libgeow mtd.lib, libd3 mtd.lib<br />

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

To compile and link an application program using <strong>LEDA</strong> in Microsoft Visual Studio 6<br />

proceed as follows:<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”

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

Saved successfully!

Ooh no, something went wrong!