[IGSTK-Users] Ubuntu problems building IGSTK
Sebastian Bodenstedt
sebastian at ehmo.org
Thu Nov 25 13:28:41 EST 2010
Hey,
Did you compile VTK with support for QT? I think that might cause your error
messages. Just run ccmake for your VTK build directory again and turn
VTK_USE_QVTK to on.
Sebastian
On Thursday, November 25, 2010 06:25:30 pm Kelly Sinclair wrote:
> Hi,
> I have been trying to unsuccessfully build IGSTK in Ubuntu 10.04.
> I've attached my Cmakecache.txt. I have successfully built VTK 5.4
> (couldn't find VTK 5.2), ITK and FLTK.
> I am using qt 4 and gcc 4.4.3.
>
> This is the error I am currently getting.
>
> sinclair at arges:~/Desktop/IGSTK.build$ make
> [ 31%] Built target IGSTK
> bin/ld: warning: libcxcore.so.2.1, needed by ../bin/libIGSTK.so.4.0.0, may
> conflict with libcxcore.so.1.1
> /usr/bin/ld: warning: libcv.so.2.1, needed by ../bin/libIGSTK.so.4.0.0, may
> conflict with libcv.so.1.1
> /usr/bin/ld: warning: libml.so.2.1, needed by ../bin/libIGSTK.so.4.0.0, may
> conflict with libml.so.1.1
> /usr/bin/ld: warning: libhighgui.so.2.1, needed by
> ../bin/libIGSTK.so.4.0.0, may conflict with libhighgui.so.1.1
> /usr/bin/ld: warning: libcvaux.so.2.1, needed by ../bin/libIGSTK.so.4.0.0,
> may conflict with libcvaux.so.1.1
> ../bin/libIGSTK.so.4.0.0: undefined reference to
> `QVTKWidget::qt_metacall(QMetaObject::Call, int, void**)'
> ../bin/libIGSTK.so.4.0.0: undefined reference to
> `QVTKWidget::QVTKWidget(QWidget*, QFlags<Qt::WindowType>)'
> ../bin/libIGSTK.so.4.0.0: undefined reference to
> `QVTKWidget::qt_metacast(char const*)'
> ../bin/libIGSTK.so.4.0.0: undefined reference to `non-virtual thunk to
> QVTKWidget::paintEngine() const'
> collect2: ld returned 1 exit status
> make[2]: *** [bin/igstkStateMachineExportTest] Error 1
> make[1]: *** [Testing/CMakeFiles/igstkStateMachineExportTest.dir/all] Error
> 2
> make: *** [all] Error 2
>
> Any help would be greatly appreciated.
>
> Thank-you
>
> Kelly
More information about the IGSTK-Users
mailing list