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

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Sun Aug 29 17:45:52 EDT 2010


To setup a dashboard, you could customize that script:
http://github.com/commontk/CTK/blob/master/CMake/ctkDashboardScript.EXAMPLE.cmake

Jc

On Sun, Aug 29, 2010 at 1:23 PM, Dean Inglis <dean.inglis at camris.ca> 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
>



-- 
Phone: 1-518-836-2174
Ext: 304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20100829/2ebb01b9/attachment.html>


More information about the Ctk-developers mailing list