[Ctk-developers] mac build error

Steve Pieper pieper at bwh.harvard.edu
Fri Feb 4 14:49:39 UTC 2011


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
>



More information about the Ctk-developers mailing list