[Insight-users] QtITK problem during make

Seniha Esen Yuksel eseny99 at yahoo.com
Wed May 10 20:23:20 EDT 2006


Hi all,
 I am trying to run the  QtITK example, but I am getting some errors. 
 I am using Itk 2.6.0 and Qt3 on Linux. I would appreciate your comments:
 
 make
 
 Scanning dependencies of target QtITK
 Building CXX object CMakeFiles/QtITK.dir/itkQtProgressBar.o
 Building CXX object CMakeFiles/QtITK.dir/qtITK.o
 Linking CXX executable QtITK
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.r._ZTVN3itk13QtSlotAdaptorINS_14AddIm
 ageFilterINS_5ImageIfLj2EEES3_S3_EEEE+0xc): undefined reference to `itk::QtTrans
 lator::className() const'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.r._ZTVN3itk13QtSlotAdaptorINS_14AddIm
 ageFilterINS_5ImageIfLj2EEES3_S3_EEEE+0x10): undefined reference to `itk::QtTran
 slator::qt_cast(char const*)'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.r._ZTVN3itk13QtSlotAdaptorINS_14AddIm
 ageFilterINS_5ImageIfLj2EEES3_S3_EEEE+0x14): undefined reference to `itk::QtTran
 slator::qt_invoke(int, QUObject*)'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.r._ZTVN3itk13QtSlotAdaptorINS_14AddIm
 ageFilterINS_5ImageIfLj2EEES3_S3_EEEE+0x18): undefined reference to `itk::QtTran
 slator::qt_emit(int, QUObject*)'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.r._ZTVN3itk13QtSlotAdaptorINS_14AddIm
 ageFilterINS_5ImageIfLj2EEES3_S3_EEEE+0x1c): undefined reference to `itk::QtTran
 slator::qt_property(int, int, QVariant*)'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.t._ZNK3itk12QtTranslator10metaObjectE
 v+0x7): In function `itk::QtTranslator::metaObject() const':
 qtITK.cxx: undefined reference to `itk::QtTranslator::staticMetaObject()'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.t._ZN3itk12QtTranslatorC2Ev+0x1d): In
  function `itk::QtTranslator::QtTranslator[not-in-charge]()':
 qtITK.cxx: undefined reference to `vtable for itk::QtTranslator'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.t._ZN3itk12QtTranslatorD2Ev+0xb): In
 function `itk::QtTranslator::~QtTranslator [not-in-charge]()':
 qtITK.cxx: undefined reference to `vtable for itk::QtTranslator'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.t._ZN3itk16QtLightIndicatorD1Ev+0xb):
  In function `itk::QtLightIndicator::~QtLightIndicator [in-charge]()':
 qtITK.cxx: undefined reference to `vtable for itk::QtLightIndicator'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.t._ZN3itk16QtLightIndicatorD1Ev+0x17)
 :qtITK.cxx: undefined reference to `vtable for itk::QtLightIndicator'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.t._ZN3itk16QtLightIndicatorC1EP7QWidg
 etPc+0x1e): In function `itk::QtLightIndicator::QtLightIndicator[in-charge](QWid
 get*, char*)':
 qtITK.cxx: undefined reference to `vtable for itk::QtLightIndicator'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.t._ZN3itk16QtLightIndicatorC1EP7QWidg
 etPc+0x2a):qtITK.cxx: undefined reference to `vtable for itk::QtLightIndicator'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.r._ZTIN3itk13QtSlotAdaptorINS_14AddIm                  ageFilterINS_5ImageIfLj2EEES3_S3_EEEE+0x8): undefined reference to `typeinfo for                   itk::QtTranslator'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.r._ZTVN3itk15QtSignalAdaptorE+0xc): u                  ndefined reference to `itk::QtTranslator::className() const'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.r._ZTVN3itk15QtSignalAdaptorE+0x10):                   undefined reference to `itk::QtTranslator::qt_cast(char const*)'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.r._ZTVN3itk15QtSignalAdaptorE+0x14):                   undefined reference to `itk::QtTranslator::qt_invoke(int, QUObject*)'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.r._ZTVN3itk15QtSignalAdaptorE+0x18):                   undefined reference to `itk::QtTranslator::qt_emit(int, QUObject*)'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.r._ZTVN3itk15QtSignalAdaptorE+0x1c):                   undefined reference to `itk::QtTranslator::qt_property(int, int, QVariant*)'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.t._ZN3itk15QtSignalAdaptor10EmitSigna                  lEv+0xd): In function `itk::QtSignalAdaptor::EmitSignal()':
 qtITK.cxx: undefined reference to `itk::QtTranslator::Signal()'
 CMakeFiles/QtITK.dir/qtITK.o(.gnu.linkonce.r._ZTIN3itk15QtSignalAdaptorE+0x8): u                  ndefined reference to `typeinfo for itk::QtTranslator'
 collect2: ld returned 1 exit status
 make[2]: *** [QtITK] Error 1
 make[1]: *** [CMakeFiles/QtITK.dir/all] Error 2
 make: *** [all] Error 2
 
 Thanks
 Esen
 
		
---------------------------------
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060510/bf79dec7/attachment.htm


More information about the Insight-users mailing list