First Page
News
Forum
In a Nutshell
About OGDF
FAQs
Key Features
Publications
Documentation
Basic Data Structures
Graph Classes
How-Tos
Developer Resources
Reference Documentation
Get OGDF
System Requirements
Download
Installation (Linux/Mac)
Installation (Windows)
Team & Contact
Imprint
makeVCProj.py to generate a Visual Studio 2005 project file ogdf.vcproj.
If you want to compile OGDF with another version of Visual Studio, you can specify a different project template file in the GENERAL section of MakeVCProject.config, which sets by default the ogdf.vcproj.vs2005.template:
[GENERAL] templateFile = ogdf.vcproj.vs2005.template # File name of project template file projectFile = ogdf.vcproj # File name of created project file
At the moment, you also have the choice to choose ogdf.vcproj.vs2003.template for Visual Studio 2003 (Visual C++ 7.1). If you are using Visual Studio 2008, you may also try this template not yet contained in the package:
Some algorithms in OGDF require additional LP-solver libraries. These algorithms will not be compiled by default. If you want to use them, you need to install
and switch compiling on by editing makeVCProject.config and setting the variable useCoin to true. The [COIN] section of your config file should look like this:
[COIN]
useCoin = true # turn Coin-support on
coinIncl = C:/???/COIN/include # path to Coin include-directory (adapt)
solver_name = COIN_OSI_??? # which LP-solver shall Coin use: use any of
# COIN_OSI_CLP = Coin's own LP-solver
# COIN_OSI_CPX = CPLEX solver
# COIN_OSI_SYM = Coin's Symphony framework
solver_incl = C:/???/include # path to the LP-solver's include-directory (adapt)
The compilation of OGDF does not require the actual libraries. Anyhow, for compiling your own program against OGDF, you have to give Visual C++ the according paths and specifications:
ogdf.OGDF_DEBUG (project properties → C++ → Preprocessor → Preprocessor definitions).ogdf.lib to the library path (project properties → Linker → Additional library directories) and add ogdf.lib as additional library for the linker (project properties → Linker → Input → Additional dependencies).For linking OGDF with the COIN libraries, you need to compile the COIN libraries with the Multithreaded DLL threading model and for the same target platform as your project (win32/x64, Debug/Release). The .zip archive below contains the precompiled COIN libraries and header files that can be used with OGDF.
To build a program that shall link against OGDF and COIN do the following steps:
USE_COIN;COIN_OSI_CLP to the preprocessor definitions (project properties → C++ → Preprocessor → Preprocessor definitions).libClp.lib libCoinUtils.lib libOsi.lib libOsiClp.lib as additional libraries for the linker (project properties → Linker → Input → Additional dependencies).ogdf.lib in a similar way as the COIN libraries.Precompiled COIN libraries for Visual Studio 2005: osi-0.96.1-vc8.zip [23.7 MB]
It is also possible to create the documentation directly from the source files if you have Doxygen installed. You will also need to have LaTeX and Ghostscript installed so that Doxygen can create images from formulas. To build the OGDF HTML documentation, call
build-ogdf-docs.bat
in the doc subdirectory of the OGDF installation (or simply double-click on the file). The documentation will then be written to doc/html.
