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

Alpár Jüttner alpar at cs.elte.hu
Mon Jan 10 11:05:26 CET 2011


What about clicking on 'Configure' again (you must do it twice before
'Generate')

Regards,
Alpar

 On Mon, 2011-01-10 at 14:52 +0500, Saqib Ilyas wrote:
> Well, something went off yesterday. I was trying to generate the
> solution generated from various locations in the folder tree and I
> can't even get the .sln file generated now. 
> I even removed the c:\lemon-1.2.1 directory and extracted all the
> files and directories afresh, created a build directory and issued
> cmake-gui .. from within it and hit configure. In the end, the
> generate button is disabled.
> Here's the output:
> Check for working C compiler: C:/Program Files/Microsoft Visual Studio
> 9.0/VC/bin/cl.exe
> 
> Check for working C compiler: C:/Program Files/Microsoft Visual Studio
> 9.0/VC/bin/cl.exe -- works
> 
> Detecting C compiler ABI info
> 
> Detecting C compiler ABI info - done
> 
> Check for working CXX compiler: C:/Program Files/Microsoft Visual
> Studio 9.0/VC/bin/cl.exe
> 
> Check for working CXX compiler: C:/Program Files/Microsoft Visual
> Studio 9.0/VC/bin/cl.exe -- works
> 
> Detecting CXX compiler ABI info
> 
> Detecting CXX compiler ABI info - done
> 
> Looking for doxygen...
> 
> Looking for doxygen... - found C:/Program
> Files/doxygen/bin/doxygen.exe
> 
> Looking for dot tool...
> 
> Looking for dot tool... - NOT found
> 
> Found Ghostscript: C:/Program Files/gs/gs8.64/bin/gswin32c.exe
> 
> Found GLPK: C:/Program Files/GnuWin32/lib/glpk.lib
> 
> Could NOT find CPLEX (missing: CPLEX_LIBRARY CPLEX_INCLUDE_DIR)
> 
> Could NOT find COIN (missing: COIN_INCLUDE_DIR COIN_CBC_LIBRARY
> COIN_CBC_SOLVER_LIBRARY COIN_CGL_LIBRARY COIN_CLP_LIBRARY
> COIN_COIN_UTILS_LIBRARY COIN_OSI_LIBRARY COIN_OSI_CBC_LIBRARY
> COIN_OSI_CLP_LIBRARY COIN_OSI_VOL_LIBRARY COIN_VOL_LIBRARY)
> 
> Looking for sys/types.h
> 
> Looking for sys/types.h - found
> 
> Looking for stdint.h
> 
> Looking for stdint.h - not found
> 
> Looking for stddef.h
> 
> Looking for stddef.h - found
> 
> Check size of long long
> 
> Check size of long long - done
> 
> Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
> 
> Configuring done
> 
> 
> 
> 
> On Mon, Jan 10, 2011 at 2:45 PM, Alpár Jüttner <alpar at cs.elte.hu>
> wrote:
>         On Mon, 2011-01-10 at 14:35 +0500, Saqib Ilyas wrote:
>         > Thanks for the prompt reply. I'm using Visual Studio 2008
>         v9.0.21022.8
>         > RTM.
>         
>         
>         Mine is Visual Studio 2008 v9.0.30729.1 SP. I don't think it
>         makes any
>         difference.
>         
>         Could you please send the full compilation log, as well?
>         
>         Did you compile it with or without glpk?
>         
>         Regards,
>         Alpar
>         
>         
>         > On Mon, Jan 10, 2011 at 2:32 PM, Alpár Jüttner
>         <alpar at cs.elte.hu>
>         > wrote:
>         >         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
>         >
>         >
>         >
>         >
>         >
>         > --
>         > Muhammad Saqib Ilyas
>         > PhD Student, Computer Science and Engineering
>         > Lahore University of Management Sciences
>         >
>         
>         
>         
> 
> 
> 
> -- 
> Muhammad Saqib Ilyas
> PhD Student, Computer Science and Engineering
> Lahore University of Management Sciences
> 
> _______________________________________________
> Lemon-user mailing list
> Lemon-user at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-user





More information about the Lemon-user mailing list