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

Dean Inglis dean.inglis at camris.ca
Sun Aug 29 13:23:02 EDT 2010


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





More information about the Ctk-developers mailing list