[Ctk-developers] mac build error

Sascha Zelzer s.zelzer at dkfz-heidelberg.de
Fri Feb 4 07:42:40 EST 2011


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




More information about the Ctk-developers mailing list