[Lemon-user] Cannot use Linear Programming module - MacOs Sierra

Noel Farrugia noel.farrugia.09 at um.edu.mt
Wed Dec 28 09:04:40 CET 2016


Dear all,

I have successfully managed to install and compile the first lemon example shown here http://lemon.cs.elte.hu/pub/tutorial/a00012.html <http://lemon.cs.elte.hu/pub/tutorial/a00012.html>.

When I’m trying to compile source code that contains Linear Programming features I get the following error
lemon_lp.cc:25:3: error: unknown type name 'Lp'
  Lp lp;

The compile command I am using is:
g++ -o lemon_lp lemon_lp.cc -lemon

Where lemon_lp.cc is the source code that is an identical copy of the code provided here http://lemon.cs.elte.hu/pub/tutorial/a00025.html <http://lemon.cs.elte.hu/pub/tutorial/a00025.html>

Am I doing something wrong, because I did not face similar issues when installing Lemon on UBUNTU.

My OS version is macOS Sierra 10.12.2

Thanks a lot for your time. Much appreciated.

Kind Regards,
Noel Farrugia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20161228/41f303e3/attachment.html>


More information about the Lemon-user mailing list