[Insight-users] Error linking to itkFltkImageViewer

Zein Salah zeinsalah at gmail.com
Wed Sep 19 05:54:55 EDT 2012


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


More information about the Insight-users mailing list