[gecode-users] Qt library on Mac

Yong LIN elinyong at gmail.com
Fri Dec 23 13:10:22 CET 2011


On Fri, Dec 23, 2011 at 8:08 PM, Yong LIN <elinyong at gmail.com> wrote:

> Hi All,
>
> I tried the library of both older and the newest versions when compile
> Gecode with Gist, they both encounter the following error:
>
> Undefined symbols:
>   "QWidget::show()", referenced from:
>       Gecode::Gist::TextOutputI::changeStayOnTop()     in textoutput.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[1]: *** [libgecodegist.30.0.dylib] Error 1
> make: *** [compilelib] Error 2
>
> could you give me some help? Thanks very much!
>
> best regards,
> Yong
>
>
> On Fri, Dec 23, 2011 at 7:25 PM, Yong LIN <elinyong at gmail.com> wrote:
>
>> Hi Guido,
>>
>> I just uninstalled the Qt-SDK and then install the Qt library(binary
>> version) instead. During the compilation of Gecode source code, there was
>> still exception thrown saying that some function are not declared. qmake
>> etc work fine. I am quite confused what is the problem is. Thanks very much!
>> regards,
>> Yong
>>
>>
>>
>>
>> On Fri, Dec 23, 2011 at 6:09 PM, Yong LIN <elinyong at gmail.com> wrote:
>>
>>> Hi Guido,
>>>
>>> You also managed it on Mac? Thanks!
>>>
>>> regards,
>>> Yong
>>>
>>>
>>> On Fri, Dec 23, 2011 at 5:17 PM, Guido Tack <tack at gecode.org> wrote:
>>>
>>>> Hi,
>>>>
>>>> I usually simply install the binary Qt library (not the SDK!) from the
>>>> web page, and all the paths and everything are setup correctly by its
>>>> installler. You don't have to configure anything else for Gecode, as long
>>>> as qmake is on the PATH.
>>>>
>>>> Cheers,
>>>> Guido
>>>>
>>>> On 23 Dec 2011, at 09:56, Yong LIN wrote:
>>>>
>>>> > Hi All,
>>>> >
>>>> > After successfully installed the Qt-SDK and configured the PATH
>>>> variable( path: /Usrs/***/QtSDK/Simulator/Qt/gcc/lib ) to make tools, such
>>>> as qmake, worked on Mac system, I encountered an additional issue. The
>>>> compiler cannot find the Qt library. Could you please give me some advices
>>>> on configuration so that the Makefile could finally find the Qt library.
>>>> The version of my Mac Os is 10.6.3; the Gecode version is 4.7.1. Thanks
>>>> very much!
>>>> >
>>>> > regards,
>>>> > Yong
>>>> > _______________________________________________
>>>> > Gecode users mailing list
>>>> > users at gecode.org
>>>> > https://www.gecode.org/mailman/listinfo/gecode-users
>>>>
>>>> --
>>>> Guido Tack, http://people.cs.kuleuven.be/~guido.tack/
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20111223/acf760d9/attachment.htm>


More information about the users mailing list