[gecode-users] Compiling error
Guido Tack
tack at ps.uni-sb.de
Wed Feb 18 22:21:11 CET 2009
cristian wrote:
> I am a Beginner in Gecode, and the follow error appear when I
> compiling at Eclipse
> The version of gecode is 2.1.1. and the IDE no marked errors in the
> code.
> Thanks for your attention
[...]
> Building target: prueba
> Invoking: GCC C++ Linker
> g++ -O0 -g3 -lgecodesearch -lgecodeminimodel -lgecodeserialization
> -lgecodecpltset -lgecodeset -lgecodeint -lgecodekernel -lgecodesupport
> -Xlinker /usr/local/include/gecode/examples/support/example.o -Xlinker
> /usr/local/include/gecode/examples/support/options.o -o"prueba"
It's a linking error. You forgot to add -lgecodegist to the list of
linker options.
Cheers,
Guido
More information about the gecode-users
mailing list