[Lemon-user] Compiling sample codes

Bahadır Doğan abahadirdogan at gmail.com
Mon Apr 27 19:49:36 CEST 2009


Hello,
I downloaded the sources:

wget http://lemon.cs.elte.hu/pub/sources/lemon-1.0.3.tar.gz

and compiled and installed Lemon as this page says:

https://lemon.cs.elte.hu/trac/lemon/wiki/InstallAutotool

and tried to compile the sample code in this link:
http://lemon.cs.elte.hu/pub/tutorial/hello_lemon.html

g++ -I/usr/local/include -L/usr/local/lib  test.cpp -o test -lemon

I get the error:
In file included from /usr/local/include/lemon/bits/graph_extender.h:25,
                 from /usr/local/include/lemon/list_graph.h:28,
                 from l.cpp:2:
/usr/local/include/lemon/bits/default_map.h:22:26: error: lemon/config.h: No
such file or directory


Also, the code in the Mercurial causes the same error.

When I modify the default_map.h file, it solves the compile problem.

Anybody got the same error?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20090427/b73cd306/attachment.html>


More information about the Lemon-user mailing list