[Ctk-developers] ctkMatrixWidget build err + help setting up dashboard?
Jean-Christophe Fillion-Robin
jchris.fillionr at kitware.com
Mon Aug 30 13:31:23 UTC 2010
Static hasn't been tested. A little but of work would need to be done to
properly handle the ctkPlugin and also the QtDesigner plugin (which are
shared library)
Jc
On Mon, Aug 30, 2010 at 9:25 AM, Dean Inglis <dean.inglis at camris.ca> wrote:
> Hi Sascha,
>
> Qt was also built from source with MinGW 4.5.0. I'll remove & try
> the Qt SDK for Win32 and use their mingw. Are there any restrictions
> on build configs for CTK? i.e., can i do shared or static release builds?
>
> Dean
>
>
>
> Hi Dean,
>>
>> for me, libCTKWidgets links fine. Just to make sure, did you also compile
>> Qt with MinGW 4.5.0 ? If you keep having linker errors, I'd advise you to
>> stick to the MinGW version which comes with Qt Creator or the Qt SDK. I
>> don't think that Qt has been extensively tested with MinGW 4.5.0.
>>
>> Best,
>> Sascha
>>
>> On 08/29/2010 07:23 PM, Dean Inglis wrote:
>>
>>> ctkMatrixWidget causes the following on Win32 MinGW
>>>
>>> Creating library file: ..\..\bin\libCTKWidgets.dll.a
>>> c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe:
>>> warning: a
>>> uto-importing has been activated without --enable-auto-import specified
>>> on
>>> the c
>>> ommand line.
>>> This should work unless it involves constant data structures referencing
>>> symbols
>>> from auto-imported DLLs.
>>>
>>> CMakeFiles\CTKWidgets.dir\ctkMatrixWidget.cpp.obj:ctkMatrixWidget.cpp:(.text+0x8
>>> f): undefined reference to `_imp___ZTV22QItemEditorCreatorBase'
>>>
>>> CMakeFiles\CTKWidgets.dir\ctkMatrixWidget.cpp.obj:ctkMatrixWidget.cpp:(.text+0xd
>>> 9): undefined reference to `_imp___ZTV22QItemEditorCreatorBase'
>>>
>>> CMakeFiles\CTKWidgets.dir\ctkMatrixWidget.cpp.obj:ctkMatrixWidget.cpp:(.text+0x2
>>> 27): undefined reference to `_imp___ZTV22QItemEditorCreatorBase'
>>>
>>> CMakeFiles\CTKWidgets.dir\ctkMatrixWidget.cpp.obj:ctkMatrixWidget.cpp:(.text+0x2
>>> 79): undefined reference to `_imp___ZTV22QItemEditorCreatorBase'
>>>
>>> CMakeFiles\CTKWidgets.dir\ctkMatrixWidget.cpp.obj:ctkMatrixWidget.cpp:(.text+0x6
>>> 01): undefined reference to `_imp___ZTV22QItemEditorCreatorBase'
>>>
>>> CMakeFiles\CTKWidgets.dir\ctkMatrixWidget.cpp.obj:ctkMatrixWidget.cpp:(.text$_ZN
>>>
>>> 22QItemEditorCreatorBaseD1Ev[QItemEditorCreatorBase::~QItemEditorCreatorBase()]+
>>> 0x12): more undefined references to `_imp___ZTV22QItemEditorCreatorBase'
>>> follow
>>> collect2: ld returned 1 exit status
>>> mingw32-make[5]: *** [bin/libCTKWidgets.dll] Error 1
>>> mingw32-make[4]: *** [Libs/Widgets/CMakeFiles/CTKWidgets.dir/all] Error 2
>>> mingw32-make[3]: *** [all] Error 2
>>> mingw32-make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build]
>>> Error
>>> 2
>>> mingw32-make[1]: *** [CMakeFiles/CTK-build.dir/all] Error 2
>>> mingw32-make: *** [all] Error 2
>>>
>>> seems to be related to register of custom editors in void
>>> ctkMatrixWidgetPrivate::init() where
>>> there is
>>> QItemEditorFactory *editorFactory = new QItemEditorFactory;
>>> editorFactory->registerEditor(QVariant::Double, new
>>> QStandardItemEditorCreator<CustomDoubleSpinBox>);
>>>
>>> Can someone in the ctk community help me set up an experimental dashboard
>>> to
>>> report these build errors?
>>>
>>> thanks,
>>> Dean
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>
> _______________________________________________
> Ctk-developers mailing list
> Ctk-developers at commontk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>
--
Phone: 1-518-836-2174
Ext: 304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20100830/1b1da8f1/attachment.htm>
More information about the Ctk-developers
mailing list