[gecode-users] Problem compiling
Guido Tack
tack at ps.uni-sb.de
Mon Jan 21 08:47:07 CET 2008
Martin Mann wrote:
> from time to time I encountered some linker problems with g++ due to
> the ordering of the libraries to link. (I am not sure if I did
> static or dynamic linking)
> check: http://www.network-theory.co.uk/docs/gccintro/gccintro_18.html
>
> Maybe that's the case here too. Check your ordering of the gecode
> libs - in general the opposite order of the includes.
> Think e.g. -lgecodekernel has to be the last one not the second.
Order is one aspect (but AFAIK only for static libs). But your
problem is that you didn't link libgecodesupport (which is new in
2.0.0), that should be the library that contains the vtable for
Exception.
Cheers,
Guido
More information about the gecode-users
mailing list