[Lemon-user] Compiling "lp_demo.cc"

Andrea Parri parri at sissa.it
Tue Aug 10 21:39:26 CEST 2010


When I try to compile "lp_demo.cc" (with "g++ -o lp_demo lp_demo.cc -lemon)
I get a long list of messages which all look like:

"/usr/local/lib/libemon.a(lemon_libemon_la-glpk.o): In function  
'lemon::GlpkBase:
:_setObjCoeff(int, double)':
/home/andrea/Downloads/lemon-1.2/lemon/glpk.cc:526: undefined  
reference to 'glp_
set_obj_coef'.



My File Browser presently looks as follows:

usr/local/
          bin/
             glpsol, lemon-0.x-to-1.x.sh, lgf-gen, dimacs files
          include/
                 lemon/
                       bits/
                           .h files
                       concepts/
                               .h files
                       others .h files
                 glpk.h
          lib/
             libemon.a, libemon.la, libglpk.a, libglpk.la, libglpk.so,
             libglpk.so0, libglpk.so.0.29.0


Thank you for your help.
Andrea



----------------------------------------------------------------
   SISSA Webmail https://webmail.sissa.it/
   Powered by Horde http://www.horde.org/





More information about the Lemon-user mailing list