[Insight-users] FW: Unresolved external link

Luis Ibanez luis.ibanez at kitware.com
Fri, 09 Apr 2004 17:25:56 -0400


Hi Karim,

This means that you are missing the FLTK libraries
from the TARGET_LINK_LIBRARIES command of your
CMakeLists.txt file.


Please look at the Tutorial presentation
http://www.itk.org/CourseWare/Training/GettingStarted-IV.pdf

for instructions on how to do this.

--

Other Tutorial presentation are available at:

      http://www.itk.org/HTML/Tutorials.htm



   Regards,



      Luis




--------------------
Azer, Karim wrote:

>>I'm getting the following error when I try to build the ImageViewer
>>example. I'm using Insight 1.6.0 and FLTK 1.1.4
>>Anyone know why I'm getting these errors?
>>
>>Thanks,
>>Karim
>>
>>Linking...
>>   Creating library Debug/ImageViewer.lib and object Debug/ImageViewer.exp
>>ImageViewerGUI.obj : error LNK2001: unresolved external symbol "public:
>>void __thiscall Fl_Group::end(void)" (?end at Fl_Group at  at QAEXXZ)
>>ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
>>symbol "public: void __thiscall Fl_Group::end(void)"
>>(?end at Fl_Group at  at QAEXXZ)
>>ImageViewerGUI.obj : error LNK2001: unresolved external symbol "public:
>>static class Fl_Group * __cdecl Fl_Group::current(void)"
>>(?current at Fl_Group at  at SAPAV1 at XZ)
>>ImageViewerGUI.obj : error LNK2001: unresolved external symbol "public:
>>virtual void __thiscall Fl_Double_Window::hide(void)"
>>(?hide at Fl_Double_Window at  at UAEXXZ)
>>ImageViewerGUI.obj : error LNK2001: unresolved external symbol "public:
>>virtual void __thiscall Fl_Double_Window::show(void)"
>>(?show at Fl_Double_Window at  at UAEXXZ)
>>ImageViewerGUI.obj : error LNK2001: unresolved external symbol "public:
>>virtual void __thiscall Fl_Double_Window::flush(void)"
>>(?flush at Fl_Double_Window at  at UAEXXZ)
>>ImageViewerGUI.obj : error LNK2001: unresolved external symbol "public:
>>virtual void __thiscall Fl_Double_Window::resize(int,int,int,int)"
>>(?resize at Fl_Double_Window at  at UAEXHHHH at Z)
>>ImageViewerGUI.obj : error LNK2001: unresolved external symbol "public:
>>virtual int __thiscall Fl_Window::handle(int)"
>>(?handle at Fl_Window at  at UAEHH at Z)
>>ImageViewerGUI.obj : error LNK2001: unresolved external symbol "protected:
>>virtual void __thiscall Fl_Window::draw(void)" (?draw at Fl_Window at  at MAEXXZ)
>>ImageViewerGUI.obj : error LNK2001: unresolved external symbol "public:
>>virtual __thiscall Fl_Window::~Fl_Window(void)" (??1Fl_Window at  at UAE at XZ)
>>ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
>>symbol "public: virtual __thiscall Fl_Window::~Fl_Window(void)"
>>(??1Fl_Window at  at UAE at XZ)
>>ImageViewerGUI.obj : error LNK2001: unresolved external symbol "public:
>>__thiscall Fl_Window::Fl_Window(int,int,char const *)"
>>(??0Fl_Window at  at QAE at HHPBD at Z)
>>ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
>>symbol "public: __thiscall Fl_Window::Fl_Window(int,int,char const *)"
>>(??0Fl_Window at  at QAE at HHPBD at Z)
>>ImageViewerGUI.obj : error LNK2001: unresolved external symbol "public:
>>virtual __thiscall Fl_Double_Window::~Fl_Double_Window(void)"
>>(??1Fl_Double_Window at  at UAE at XZ)
>>ImageViewerGUI.obj : error LNK2001: unresolved external symbol "private:
>>virtual void __thiscall Fl_Gl_Window::draw_overlay(void)"
>>(?draw_overlay at Fl_Gl_Window at  at EAEXXZ)
>>ImageViewerGUI.obj : error LNK2001: unresolved external symbol "public:
>>virtual void __thiscall Fl_Gl_Window::hide(void)"
>>(?hide at Fl_Gl_Window at  at UAEXXZ)
>>ImageViewerGUI.obj : error LNK2001: unresolved external symbol "public:
>>virtual void __thiscall Fl_Gl_Window::show(void)"
>>(?show at Fl_Gl_Window at  at UAEXXZ)
>>ImageViewerGUI.obj : error LNK2001: unresolved external symbol "public:
>>virtual void __thiscall Fl_Gl_Window::flush(void)"
>>(?flush at Fl_Gl_Window at  at UAEXXZ)
>>
> 
> 
> 
> ------------------------------------------------------------------------------
> Notice:  This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message.  If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system.
> ------------------------------------------------------------------------------
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>