[Lemon-user] Compiling "lp_demo.cc"
Andrea Parri
parri at sissa.it
Tue Aug 10 22:23:23 CEST 2010
Thank you, Peter.
Compilation done. Now, running lp_demo I get:
./lp_demo: error while loading shared libraries: libglpk.so.0: cannot
open shared object file: Non such file or directory
Andrea
Quoting Kovács Péter <kpeter at inf.elte.hu>:
> Dear Andrea,
>
> For using the LP tools of LEMON you also need an LP solver. In your
> current LEMON installation, GLPK is selected as the default solver. To
> compile lp_demo.cc, you should have this library installed on your
> system and you should add the -lglpk directive to gcc:
>
> g++ -o lp_demo lp_demo.cc -lemon -lglpk
>
> Regards,
> Peter
>
----------------------------------------------------------------
SISSA Webmail https://webmail.sissa.it/
Powered by Horde http://www.horde.org/
More information about the Lemon-user
mailing list