[Ctk-developers] ctkMatrixWidget build err + help setting up dashboard?

Sascha Zelzer s.zelzer at dkfz-heidelberg.de
Mon Aug 30 04:05:58 EDT 2010


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
>    




More information about the Ctk-developers mailing list