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

Luis Quesada l.quesada at 4c.ucc.ie
Tue Apr 30 01:46:49 CEST 2013


On Mon, April 29, 2013 11:49 pm, Luis Quesada 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.

Indeed I was missing this bit:

"After installing Qt, make sure that the qmake tool is in your shell path.
The Gecode configure script will then detect the presence of Qt and
automatically compile with support for Gist."

Everything is perfect now.

Cheers,
Luis


>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
>


-- 
Luis Quesada
Research Scientist
Cork Constraint Computation Centre
University College Cork
Cork - Ireland
Phone: 	(+353) 21 420 5376
Fax:	(+353) 21 420 5369
Web:	http://4c.ucc.ie/~lquesada



More information about the users mailing list