Hi,
This is a seriously outdated version and we will not really follow up on how Ubuntu has packaged Gecode. So, please download the latest version from the Gecode webpages. You have to compile it yourself, however that’s easy and explained in MPG. Best Christian -- Christian Schulte, <http://www.gecode.org/~schulte> www.gecode.org/~schulte Professor of Computer Science, KTH, <mailto:[email protected]> [email protected] Expert Researcher, SICS, [email protected] From: Fabien Brosseau [mailto:[email protected]] Sent: Monday, September 5, 2016 21:05 To: [email protected] Subject: Re: [gecode-users] Installation and the gecode version installed is 4.2.1-1 2016-09-05 21:03 GMT+02:00 Fabien Brosseau <[email protected] <mailto:[email protected]> >: I install it using apt-get install. Headers are in "/usr/include/gecode" and .so files are in "/usr/lib/x86_64-linux-gnu". .so files have the following name for example : libgecodesearch.so So in the .pro file I have added : INCLUDEPATH += /usr/include LIBS += -L"/usr/lib/x86_64-linux-gnu" -llibgecodeflatzinc -llibgecodedriver -llibgecodegist -llibgecodesearch -llibgecodeminimodel -llibgecodeset -llibgecodefloat -llibgecodeint -llibgecodekernel -llibgecodesupport And the error that I have is : undefined reference to 'Gecode::Search::Options::def' I am trying to run the sendMoreMoney example. I have also tried the following format for LIBS : -L"/usr/lib/x86_64-linux-gnu/lib" -lgecodeflatzinc -lgecodedriver -lgecodegist -lgecodesearch -lgecodeminimodel -lgecodeset -lgecodefloat -lgecodeint -lgecodekernel -lgecodesupport I have also set LD_LIBRAY_PATH but no success ... 2016-09-04 11:22 GMT+02:00 Christian Schulte <[email protected] <mailto:[email protected]> >: Hi, The windows errors seem to indicate that you installed a package for x86 but use a x64 compiler. On Linux: are you sure that you have installed all necessary Qt packages? Did you read the information on how to install Gecode in MPG? Best Christian -- Christian Schulte, www.gecode.org/~schulte <http://www.gecode.org/~schulte> Professor of Computer Science, KTH, [email protected] <mailto:[email protected]> Expert Researcher, SICS, [email protected] <mailto:[email protected]> From: [email protected] <mailto:[email protected]> [mailto:[email protected] <mailto:[email protected]> ] On Behalf Of Fabien Brosseau Sent: Saturday, September 3, 2016 20:58 To: [email protected] <mailto:[email protected]> Subject: [gecode-users] Installation Hello everyone, I am trying to use Gecode for a little project but i am not able to make it work. On windows 7 (64 bits) : i am trying to use it with a Code::Blocks project. But when I try to compile a project with an example file, I have some errors : * header not working in "x86gcc_rounding_control.hpp" file "This header only works on x86 CPUs" -> so why it's called ? * "_forceinline" which doesn't name a type On Ubuntu 14.04 : i get the gecode package and i tried to use it in a qt project. I have set INCLUDEPATH and LIBS (files are not installed where documentation said) but I still have undefined reference errors.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Gecode users mailing list [email protected] https://www.gecode.org/mailman/listinfo/gecode-users
