Please read how to link your program: like all other libraries you already link against (-lgecodeint, ...) you also have to link against libgecodegist (-lgecodegist).
If the problem pertains - as your message suggests - did you actually build the Gist library? Do you have the required Qt libraries installed? Christian -- Christian Schulte, www.ict.kth.se/~cschulte/ -----Original Message----- From: users-boun...@gecode.org [mailto:users-boun...@gecode.org] On Behalf Of Yannick Parmentier Sent: Wednesday, November 11, 2009 6:24 PM To: us...@gecode.org Subject: [gecode-users] Gist - linking error Hi all, I am trying to use Gist (in stand alone mode) to explore the search tree of my CSP, but unfortunately, I cannot get it to work. Without Gist, the CSP is solved as expected. I just added: #include <gecode/gist.hh> and then called Gist::dfs on my Space object. When I compile, I get: c++ RCG.cc -o RCG -lgecodeint -lgecodeset -lgecodesearch /tmp/cc7peTxn.o: In function `Gecode::Gist::dfs(Gecode::Space*, Gecode::Gist::Options const&)': RCG.cc:(.text._ZN6Gecode4Gist3dfsEPNS_5SpaceERKNS0_7OptionsE[Gecode::Gist::d fs(Gecode::Space*, Gecode::Gist::Options const&)]+0x1c): undefined reference to `Gecode::Gist::explore(Gecode::Space*, bool, Gecode::Gist::Options const&)' /tmp/cc7peTxn.o: In function `RCG::doSearch(RCG*)': RCG.cc:(.text._ZN3RCG8doSearchEPS_[RCG::doSearch(RCG*)]+0x3a): undefined reference to `Gecode::Gist::Options::def' collect2: ld returned 1 exit status make: *** [RCG] Error 1 I tried to link against any gecode library, the result remains the same. Cheers, Yannick _______________________________________________ Gecode users mailing list us...@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users _______________________________________________ Gecode users mailing list us...@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users