[Lemon-user] Problem when compiling graphToEps.cc
Alpár Jüttner
alpar at cs.elte.hu
Sat Mar 5 21:01:57 CET 2011
On Sat, 2011-03-05 at 16:28 +0100, Cherif Mouaouia Bouzid wrote:
> Hello everybody
>
> I've got a problem when compiling graphToEps.cc. This is the error
> message :
>
> obj/Debug/main.o||In function `lemon::distantBW(lemon::Color
> const&)':|
> /usr/local/include/lemon/color.h|197|undefined reference to
> `lemon::WHITE'|
> /usr/local/include/lemon/color.h|197|undefined reference to
> `lemon::BLACK'|
> obj/Debug/main.o||In function `DefaultGraphToEpsTraits':|
> /usr/local/include/lemon/graph_to_eps.h|169|undefined reference to
> `lemon::WHITE'|
> /usr/local/include/lemon/graph_to_eps.h|169|undefined reference to
> `lemon::BLACK'|
> /usr/local/include/lemon/graph_to_eps.h|169|undefined reference to
> `lemon::BLACK'|
> ||=== Build finished: 5 errors, 0 warnings ===|
>
> Could you please help me ?
You must link the lemon library to your code (-lemon, libemon.a,
libemon.so, lemon.dll, lemon.lib or something similar, depending on the
platform and compiler you use).
Regards,
Alpar
More information about the Lemon-user
mailing list