[IGSTK-Users] Linker Errors..

Ashwath Hegde, ERS-HCLTech Ashwathh at hcl.com
Fri Feb 18 03:57:25 EST 2011


Hi All,

I am trying to run the HelloWorld example given in Examples/HelloWorld.
I am using QT for GUI.But I am getting the below error:


1>------ Build started: Project: QTVIEW, Configuration: Debug Win32 ------
1>Compiling...
1>moc_qtview.cpp
1>qtview.cpp
1>main.cpp
1>Generating Code...
1>Linking...
1>main.obj : error LNK2019: unresolved external symbol "protected: __thiscall igstk::MouseTracker::MouseTracker(void)" (??0MouseTracker at igstk@@IAE at XZ) referenced in function "public: static class itk::SmartPointer<class igstk::MouseTracker> __cdecl igstk::MouseTracker::New(void)" (?New at MouseTracker@igstk@@SA?AV?$SmartPointer at VMouseTracker@igstk@@@itk@@XZ)
1>main.obj : error LNK2019: unresolved external symbol "protected: __thiscall igstk::MouseTrackerTool::MouseTrackerTool(void)" (??0MouseTrackerTool at igstk@@IAE at XZ) referenced in function "public: static class itk::SmartPointer<class igstk::MouseTrackerTool> __cdecl igstk::MouseTrackerTool::New(void)" (?New at MouseTrackerTool@igstk@@SA?AV?$SmartPointer at VMouseTrackerTool@igstk@@@itk@@XZ)
fatal error LNK1120: 2 unresolved externals
1>QTVIEW - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Can anybody please tell me what is the problem.

Thanks and Regards,
Ashwath.

::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------



More information about the IGSTK-Users mailing list