[Ctk-developers] mac build error
Jean-Christophe Fillion-Robin
jchris.fillionr at kitware.com
Fri Feb 4 19:09:36 UTC 2011
Hi Folks,
Commit 3eaeee17<https://github.com/commontk/CTK/commit/3eaeee17061e7d53c1103b09dc988c41ecb34135>should
fix the issue.
Thanks
Jc
On Fri, Feb 4, 2011 at 9:49 AM, Steve Pieper <pieper at bwh.harvard.edu> wrote:
> Hmm, that is interesting...
>
> For my fresh mac build, I can run CTK-build/bin/ctkSimplePythonShell with
> no problems.
>
> The only thing I can think is that I did not enable all cmake options at
> the beginning - I built first with the defaults, then enabled the python
> stuff. Maybe there is a build-order dependency?
>
> -Steve
>
>
> On 02/04/2011 07:42 AM, Sascha Zelzer wrote:
>
>> All right.
>>
>> But I got the same error under Linux on a fresh build and
>> CTK_APP_ctkSimplePythonShell enabled (but no wrapping option checked).
>>
>> - Sascha
>>
>> On 02/04/2011 01:30 PM, Steve Pieper wrote:
>>
>>> Thanks Sascha - my mistake - I had deleted all the pythonqt source and
>>> binaries, but apparently that wasn't enough. A /really fresh/ build in
>>> a new directory worked fine!
>>> -Steve
>>>
>>> On 02/03/2011 08:16 PM, Sascha Zelzer wrote:
>>>
>>>> Hi
>>>>
>>>> looks like moc has not been invoked on the decorator files. Probably
>>>> because you have not enabled Python wrapping (CTK_WRAP_PYTHONQT_LIGHT).
>>>> Setting it to on should fix it for now.
>>>>
>>>> In case that no Python wrapping has been enabled, moc is not run on
>>>> ctkCorePythonQtDecorators.h and ctkWidgetsPythonQtDecorators.h but
>>>> ctkSimplePythonManager still includes them. Jc will probably know how to
>>>> fix this properly ;-)
>>>>
>>>> Best,
>>>> Sascha
>>>>
>>>> On 02/03/2011 10:45 PM, Steve Pieper wrote:
>>>>
>>>>> Hi -
>>>>>
>>>>> On a fresh mac build I'm seeing this error... does anyone know the fix?
>>>>>
>>>>> Thanks,
>>>>> -Steve
>>>>>
>>>>> http://my.cdash.org/viewBuildError.php?buildid=151913
>>>>>
>>>>> [ 96%] Built target ctkDICOMRetrieve
>>>>>> Linking CXX executable ../../bin/ctkSimplePythonShell
>>>>>>
>>>>>> Undefined symbols:
>>>>>>
>>>>>> "vtable for ctkCorePythonQtDecorators", referenced from:
>>>>>> ctkCorePythonQtDecorators::ctkCorePythonQtDecorators()in
>>>>>> ctkSimplePythonManager.cpp.o
>>>>>> "vtable for ctkWidgetsPythonQtDecorators", referenced from:
>>>>>> ctkWidgetsPythonQtDecorators::ctkWidgetsPythonQtDecorators()in
>>>>>> ctkSimplePythonManager.cpp.o
>>>>>> ld: symbol(s) not found
>>>>>>
>>>>> _______________________________________________
>>>>> Ctk-developers mailing list
>>>>> Ctk-developers at commontk.org
>>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>>>>>
>>>>
>> _______________________________________________
> Ctk-developers mailing list
> Ctk-developers at commontk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>
--
Direct: 1-518-836-2174
Ext: 304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20110204/b1cda1c7/attachment.htm>
More information about the Ctk-developers
mailing list