[Ctk-developers] mac build error

Sascha Zelzer s.zelzer at dkfz-heidelberg.de
Thu Feb 3 20:16:23 EST 2011


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