[Lemon-user] Trouble compiling on Windows with VS 2008

Alpár Jüttner alpar at cs.elte.hu
Mon Jan 10 10:32:14 CET 2011


Hi,

> I downloaded and installed all pre-requisites and then extracted
> lemon-1.2.1 at c:\lemon-1.2.1, and then, following the install
> instructions, went into c:\lemon-1.2.1 and created a build folder
> there. I went into c:\lemon-1.2.1\build and issued the command
> cmake-gui .. and had a Visual Studio solution created. I opened it and
> tried to build ALL-BUILD. I got errors in include files of the form
> #include lemon\arg_parser.h.

I've just tried the same with VS2008 and it compiles perfectly without
even a single warning.

Could you please give the exact compiler version you use plus the exact
compilation log?

>  I added c:\lemon-1.2.1 to the include file search path,

You certainly don't have to do anything like that. 

>  but then I got compilation errors in cmath, such as fcosh is not part
> of the global namespace.

Hmmm, cosh is certainly not used by LEMON. This kind of error in cmath
suggest some internal inconsistency in the VS install.
> 
Regards,
Alpar





More information about the Lemon-user mailing list