Remark: When using MSVC++ .NET you have to choose msc, when using MSVC++ 6.0 you have to choose msc6 in the command given above. When building an application with LEDA and MS Visual Studio 6 or MS Visual C++ .NET, the LEDA library you use depends on the Microsoft C runtime library you intend to link with. Your application code and LEDA both must be linked to the same Microsoft C runtime library; otherwise serious linker or runtime errors may occur. The Microsoft C runtime libraries are related to the compiler options as follows
C Runtime Library | Option |
LIBC.LIB | -ML |
LIBCD.LIB | -MLd |
LIBCMT.LIB | -MT |
LIBCMTD.LIB | -MTd |
MSVCRT.LIB | -MD |
MSVCRTD.LIB | -MDd |
In order to get the suitable Libs or DLL please choose the corresponding option in the call of lconfig.
Type make_lib for building the object code libraries
static: | libL.lib | basic library |
libG.lib | graph library | |
libP.lib | d2-geo library | |
libD3.lib | d3-geo library | |
libGeoW.lib | GeoWin library | |
libW.lib | window library | |
dynamic: | leda.dll, leda.lib | |
libgeow.lib |
Now follow the instructions given in the corresponding section for the
Windows object code package (Section WinObjectCodePackage ff.).