[Lemon-user] Compiling the library in Windows

Alpar Juttner alpar at cs.elte.hu
Sun Sep 22 10:11:27 CEST 2013


Hi,

> I'm compiling the LIB with Microsoft Visual C++ 2008 version
> 9.0.30729.1 - following the instructions I found some difference with
> the description: [...]

Thanks for the report. It's fixed now. That is actually a wiki page, so
feel free to further improve it if you think it's needed.

> - at the end I could manage to run the "hello world" code. However some
> executable were not generated, for instance the DIMACS-to-LGF converter

I tried it myself with Microsoft Visual C++ 2008 and works seamlessly:
First I created a .sln file with cmake (version 2.8.8), opened it with
VS2008 IDE, then simply pressed "Build solution F7" it works a lot and
builds everything including the dimacs-solver, dimacs-to-lgf etc and
even the html documentation.

I also tried to build dimacs-solver and other tools separately by right
clicking on the corresponding target, then choosing 'Build'. It works,
as well.

(There is a problem in _executing_ tsp_test, but it is a different
story, see http://lemon.cs.elte.hu/trac/lemon/ticket/476 )

> - I tried to compile separately: dimacs.solver.cc, dimacs-to-lgf.cc,
> lgf-gen.cc but (after some work) I get this problem:
> "libcpmt.lib(cout.obj): error LNK2001: external symbol
> _invalid_parameter_noinfo not resolved"

I think this problem does not relates to LEMON. The missing
"libcpmt.lib" seems to be a standard VC++ library.

Regards,
Alpar



More information about the Lemon-user mailing list