In my experience, the fltk versions often have incompatibilities. The only fltk we have used is 1.3.<br><br><div class="gmail_quote">On Wed, Sep 19, 2012 at 5:54 AM, Zein Salah <span dir="ltr"><<a href="mailto:zeinsalah@gmail.com" target="_blank">zeinsalah@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
In my program, I use fltkimageviewer in additon to some own classes<br>
inheriting from SliceViewer and GLSliceViewer.<br>
<br>
I got the following link error when I tried using fltk-1.3.0 instead<br>
of 1.1.7. Are the itkFltkImageViewer libraries not compatible in both<br>
fltk versions? Within the InsightApplications, the<br>
itkFltkImageViewer.lib is there.<br>
<br>
<br>
Creating library<br>
D:\ZeinApplications-BIN\3.20_vs9_f1.3.0\All_Purpose\Release\All_Purpose.lib<br>
and object D:\ZeinApplications-BIN\3.20_vs9_f1.3.0\All_Purpose\Release\All_Purpose.exp<br>
iomodule.obj : error LNK2019: unresolved external symbol "public:<br>
virtual __thiscall fltkImageViewerGUI::~fltkImageViewerGUI(void)"<br>
(??1fltkImageViewerGUI@@UAE@XZ) referenced in function<br>
__unwindfunclet$??0?$ImageViewer@GE@fltk@@QAE@XZ$0<br>
Tester.obj : error LNK2001: unresolved external symbol "public:<br>
virtual __thiscall fltkImageViewerGUI::~fltkImageViewerGUI(void)"<br>
(??1fltkImageViewerGUI@@UAE@XZ)<br>
iomodule.obj : error LNK2019: unresolved external symbol "public:<br>
__thiscall fltkImageViewerGUI::fltkImageViewerGUI(void)"<br>
(??0fltkImageViewerGUI@@QAE@XZ) referenced in function "public:<br>
__thiscall fltk::ImageViewer<unsigned short,unsigned<br>
char>::ImageViewer<unsigned short,unsigned char>(void)"<br>
(??0?$ImageViewer@GE@fltk@@QAE@XZ)<br>
Tester.obj : error LNK2001: unresolved external symbol "public:<br>
__thiscall fltkImageViewerGUI::fltkImageViewerGUI(void)"<br>
(??0fltkImageViewerGUI@@QAE@XZ)<br>
iomodule.obj : error LNK2001: unresolved external symbol "public:<br>
virtual void __thiscall fltkImageViewerGUI::AddMenuBarOptions(void)"<br>
(?AddMenuBarOptions@fltkImageViewerGUI@@UAEXXZ)<br>
Tester.obj : error LNK2001: unresolved external symbol "public:<br>
virtual void __thiscall fltkImageViewerGUI::AddMenuBarOptions(void)"<br>
(?AddMenuBarOptions@fltkImageViewerGUI@@UAEXXZ)<br>
iomodule.obj : error LNK2001: unresolved external symbol "public:<br>
virtual void __thiscall<br>
fltkImageViewerGUI::AddFilterMenuOptions(void)"<br>
(?AddFilterMenuOptions@fltkImageViewerGUI@@UAEXXZ)<br>
Tester.obj : error LNK2001: unresolved external symbol "public:<br>
virtual void __thiscall<br>
fltkImageViewerGUI::AddFilterMenuOptions(void)"<br>
(?AddFilterMenuOptions@fltkImageViewerGUI@@UAEXXZ)<br>
iomodule.obj : error LNK2001: unresolved external symbol "public:<br>
virtual void __thiscall fltkImageViewerGUI::AddFileMenuOptions(void)"<br>
(?AddFileMenuOptions@fltkImageViewerGUI@@UAEXXZ)<br>
Tester.obj : error LNK2001: unresolved external symbol "public:<br>
virtual void __thiscall fltkImageViewerGUI::AddFileMenuOptions(void)"<br>
(?AddFileMenuOptions@fltkImageViewerGUI@@UAEXXZ)<br>
D:\ZeinApplications-BIN\3.20_vs9_f1.3.0\All_Purpose\Release\All_Purpose.exe<br>
: fatal error LNK1120: 5 unresolved externals<br>
<br>
<br>
Thanks,<br>
Zein<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>