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:cschu...@kth.se> cschu...@kth.se

Expert Researcher, SICS, cschu...@sics.se

 

From: Fabien Brosseau [mailto:brosseaufab...@gmail.com] 
Sent: Monday, September 5, 2016 21:05
To: cschu...@kth.se
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 <brosseaufab...@gmail.com 
<mailto:brosseaufab...@gmail.com> >:

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 <cschu...@kth.se 
<mailto:cschu...@kth.se> >:

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, cschu...@kth.se <mailto:cschu...@kth.se> 

Expert Researcher, SICS, cschu...@sics.se <mailto:cschu...@sics.se> 

 

From: users-boun...@gecode.org <mailto:users-boun...@gecode.org>  
[mailto:users-boun...@gecode.org <mailto:users-boun...@gecode.org> ] On Behalf 
Of Fabien Brosseau
Sent: Saturday, September 3, 2016 20:58
To: users@gecode.org <mailto:users@gecode.org> 
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. 

 

 

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Gecode users mailing list
users@gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to