[gecode-users] Specifying QT's location before compiling Gecode

Guido Tack tack at gecode.org
Tue Apr 30 01:47:06 CEST 2013


Hi Luis,

I haven't tried to build Qt myself, I just used the binary packages.  It looks like the Qt framework is not on the default search path. Gecode's configure script uses qmake to figure out all the paths - did you install Qt in /Library/Frameworks or in some other location?

Anyway, I'd suggest just trying the Qt binary package.

Cheers,
Guido

On 30/04/2013, at 8:49 AM, Luis Quesada <l.quesada at 4c.ucc.ie> wrote:

> Dear all,
> 
> I am using OS X 10.8 (with gcc version 4.2.1). I managed to build both QT
> 5.0.2 and Gecode 4.0 successfully. However, I am getting the following
> error when adding -lgecodegist:
> 
> dyld: Library not loaded: QtGui.framework/Versions/4/QtGui
>  Referenced from: /usr/local/lib/libgecodegist.33.dylib
>  Reason: image not found
> 
> I guess I need to specify where my QT is before building geocode, but I
> don't know how to do that.... I did went through Section 2.3.3, but maybe
> I am missing something. I can compile examples that don't use Gist without
> any issue.
> 
> Thanks in advance for your help!
> 
> Cheers,
> Luis
> 
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users




More information about the users mailing list