[Lemon-user] Enabling GLPK library after LEMON had been installed

Cherif Mouaouia Bouzid cherifmouaouia.bouzid at gmail.com
Mon Jul 25 14:03:26 CEST 2011


Hi everybody

Both LEMON and GLPK libraries are installed on my laptop. However, I have
the following error when compiling mip_demo.cc with the command "g++ -o
mip_demo mip_demo.cc -lemon -lglpk":

mip_demo.cc: In function ‘int main()’:
mip_demo.cc:29: error: ‘Mip’ was not declared in this scope
mip_demo.cc:29: error: expected ‘;’ before ‘mip’
mip_demo.cc:32: error: ‘Mip’ is not a class or namespace
mip_demo.cc:32: error: expected ‘;’ before ‘x1’ ...

I think that GLPK was not installed when I installed LEMON.

The files are located as follows:

/usr
     /lib
         libglpk.a, libglpk.so.0.28.0

     /local
            /lib
                libemon.a

           /include
                     /lemon
                              .h files

Could you please help me :] ?

Cherif

Algeria
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20110725/436832ba/attachment.html>


More information about the Lemon-user mailing list