[Insight-users] QtITK linking problems

Luis Ibanez luis.ibanez at kitware.com
Thu Jul 22 09:23:40 EDT 2004


Hi Rudi,

The symbols that you are missing are defined in

   - itkQtProgressBar.cxx
   - itkQtLightIndicator.cxx

in the same directory QtITK

Are you modifying the CMakeList.txt file of
this application ?
(if so, please post your modified CMakeLists.txt
file to the list.)


What version of CMake are you using ?


Please let us know,


   Thanks



      Luis


--------------------
Rudi Ratlos wrote:
> Hi,
> try to run \InsightApplications\QtIT, compiles but get
> the following link problems. I added all libraries
> correctly in cmake. Don't have a clue. Any help
> appreciated ! Thanks
> Rudi
> 
> Linking...
>    Creating library Debug/QtITK.lib and object
> Debug/QtITK.exp
> qtITK.obj : error LNK2001: unresolved external symbol
> "public: void __thiscall
> itk::QtProgressBar::Observe(class itk::Object *)"
> (?Observe at QtProgressBar@itk@@QAEXPAVObject at 2@@Z)
> qtITK.obj : error LNK2001: unresolved external symbol
> "public: __thiscall
> itk::QtProgressBar::QtProgressBar(class QWidget *,char
> *)" (??0QtProgressBar at itk@@QAE at PAVQWidget@@PAD at Z)
> qtITK.obj : error LNK2001: unresolved external symbol
> "private: static struct QStringData *
> QString::shared_null"
> (?shared_null at QString@@0PAUQStringData@@A)
> qtITK.obj : error LNK2001: unresolved external symbol
> "protected: virtual void __thiscall
> itk::QtTranslator::initMetaObject(void)"
> (?initMetaObject at QtTranslator@itk@@MAEXXZ)
> qtITK.obj : error LNK2001: unresolved external symbol
> "public: virtual char const * __thiscall
> itk::QtTranslator::className(void)const "
> (?className at QtTranslator@itk@@UBEPBDXZ)
> qtITK.obj : error LNK2001: unresolved external symbol
> "public: static class QMetaObject * __cdecl
> itk::QtTranslator::staticMetaObject(void)"
> (?staticMetaObject at QtTranslator@itk@@SAPAVQMetaObject@@XZ)
> qtITK.obj : error LNK2001: unresolved external symbol
> "protected: void __thiscall
> itk::QtTranslator::Signal(void)"
> (?Signal at QtTranslator@itk@@IAEXXZ)
> qtITK.obj : error LNK2001: unresolved external symbol
> "protected: virtual void __thiscall
> itk::QtLightIndicator::initMetaObject(void)"
> (?initMetaObject at QtLightIndicator@itk@@MAEXXZ)
> qtITK.obj : error LNK2001: unresolved external symbol
> "public: virtual char const * __thiscall
> itk::QtLightIndicator::className(void)const "
> (?className at QtLightIndicator@itk@@UBEPBDXZ)
> qtITK.obj : error LNK2001: unresolved external symbol
> "public: static class QMetaObject * __cdecl
> itk::QtLightIndicator::staticMetaObject(void)"
> (?staticMetaObject at QtLightIndicator@itk@@SAPAVQMetaObject@@XZ)
> Debug/QtITK.exe : fatal error LNK1120: 10 unresolved
> externals
> Error executing link.exe.
> 
> 
> ALL_BUILD - 11 error(s), 0 warning(s)
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 





More information about the Insight-users mailing list