[Insight-users] Error linking to itkFltkImageViewer

Bill Lorensen bill.lorensen at gmail.com
Wed Sep 19 07:22:42 EDT 2012


In my experience, the fltk versions often have incompatibilities. The only
fltk we have used is 1.3.

On Wed, Sep 19, 2012 at 5:54 AM, Zein Salah <zeinsalah at gmail.com> wrote:

> Hi,
>
> In my program, I use fltkimageviewer in additon to some own classes
> inheriting from SliceViewer and GLSliceViewer.
>
> I got the following link error when I tried using fltk-1.3.0 instead
> of 1.1.7. Are the itkFltkImageViewer libraries not compatible in both
> fltk versions? Within the InsightApplications, the
> itkFltkImageViewer.lib is there.
>
>
>   Creating library
> D:\ZeinApplications-BIN\3.20_vs9_f1.3.0\All_Purpose\Release\All_Purpose.lib
> and object
> D:\ZeinApplications-BIN\3.20_vs9_f1.3.0\All_Purpose\Release\All_Purpose.exp
> iomodule.obj : error LNK2019: unresolved external symbol "public:
> virtual __thiscall fltkImageViewerGUI::~fltkImageViewerGUI(void)"
> (??1fltkImageViewerGUI@@UAE at XZ) referenced in function
> __unwindfunclet$??0?$ImageViewer at GE@fltk@@QAE at XZ$0
> Tester.obj : error LNK2001: unresolved external symbol "public:
> virtual __thiscall fltkImageViewerGUI::~fltkImageViewerGUI(void)"
> (??1fltkImageViewerGUI@@UAE at XZ)
> iomodule.obj : error LNK2019: unresolved external symbol "public:
> __thiscall fltkImageViewerGUI::fltkImageViewerGUI(void)"
> (??0fltkImageViewerGUI@@QAE at XZ) referenced in function "public:
> __thiscall fltk::ImageViewer<unsigned short,unsigned
> char>::ImageViewer<unsigned short,unsigned char>(void)"
> (??0?$ImageViewer at GE@fltk@@QAE at XZ)
> Tester.obj : error LNK2001: unresolved external symbol "public:
> __thiscall fltkImageViewerGUI::fltkImageViewerGUI(void)"
> (??0fltkImageViewerGUI@@QAE at XZ)
> iomodule.obj : error LNK2001: unresolved external symbol "public:
> virtual void __thiscall fltkImageViewerGUI::AddMenuBarOptions(void)"
> (?AddMenuBarOptions at fltkImageViewerGUI@@UAEXXZ)
> Tester.obj : error LNK2001: unresolved external symbol "public:
> virtual void __thiscall fltkImageViewerGUI::AddMenuBarOptions(void)"
> (?AddMenuBarOptions at fltkImageViewerGUI@@UAEXXZ)
> iomodule.obj : error LNK2001: unresolved external symbol "public:
> virtual void __thiscall
> fltkImageViewerGUI::AddFilterMenuOptions(void)"
> (?AddFilterMenuOptions at fltkImageViewerGUI@@UAEXXZ)
> Tester.obj : error LNK2001: unresolved external symbol "public:
> virtual void __thiscall
> fltkImageViewerGUI::AddFilterMenuOptions(void)"
> (?AddFilterMenuOptions at fltkImageViewerGUI@@UAEXXZ)
> iomodule.obj : error LNK2001: unresolved external symbol "public:
> virtual void __thiscall fltkImageViewerGUI::AddFileMenuOptions(void)"
> (?AddFileMenuOptions at fltkImageViewerGUI@@UAEXXZ)
> Tester.obj : error LNK2001: unresolved external symbol "public:
> virtual void __thiscall fltkImageViewerGUI::AddFileMenuOptions(void)"
> (?AddFileMenuOptions at fltkImageViewerGUI@@UAEXXZ)
> D:\ZeinApplications-BIN\3.20_vs9_f1.3.0\All_Purpose\Release\All_Purpose.exe
> : fatal error LNK1120: 5 unresolved externals
>
>
> Thanks,
> Zein
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>



-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120919/54a041db/attachment.htm>


More information about the Insight-users mailing list