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.

(b) Type VCVARS32 (VSVARS32).<br />

2. Go to the <strong>LEDA</strong> main directory (at the command prompt used above).<br />

3. Type: lconfig [msc | msc6] [dll] [ ml | mld | md | mdd | mt | mtd ]<br />

Remark: When using MSVC++ .NET you have to choose msc, when using MSVC++<br />

6.0 you have to choose msc6 in the command given above. When building an application<br />

with <strong>LEDA</strong> and MS Visual Studio 6 or MS Visual C++ .NET, the <strong>LEDA</strong> library you<br />

use depends on the Microsoft C runtime library you intend to link with. Your application<br />

code and <strong>LEDA</strong> both must be linked to the same Microsoft C runtime library; otherwise<br />

serious linker or runtime errors may occur. <strong>The</strong> Microsoft C runtime libraries are related<br />

to the compiler options as follows<br />

C Runtime Library<br />

LIBC.LIB<br />

LIBCD.LIB<br />

LIBCMT.LIB<br />

LIBCMTD.LIB<br />

MSVCRT.LIB<br />

MSVCRTD.LIB<br />

Option<br />

-ML<br />

-MLd<br />

-MT<br />

-MTd<br />

-MD<br />

-MDd<br />

In order to get the suitable Libs or DLL please choose the corresponding option in the<br />

call of lconfig.<br />

<strong>LEDA</strong> Compilation with MS Visual C++<br />

Type make lib for building the object code libraries<br />

static: libL.lib basic library<br />

libG.lib graph library<br />

libP.lib d2-geo library<br />

libD3.lib d3-geo library<br />

libGeoW.lib GeoWin library<br />

libW.lib window library<br />

dynamic:<br />

leda.dll, leda.lib<br />

libgeow.lib<br />

Remarks: GeoWin is currently not available as a DLL.<br />

Now follow the instructions given in the corresponding section for the Windows object<br />

code package (Section WinObjectCodePackage ff.).

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

Saved successfully!

Ooh no, something went wrong!