[Insight-users] Re: Help building itk+fltk!!
Luis Ibanez
luis.ibanez@kitware.com
Thu, 30 Jan 2003 14:21:10 -0500
Hi Zein,
It looks like CMake is not finding all
the FLTK components.
Please rerun CMake, enable "Advanced"
and look for the variables:
FLTK_BASE_LIBRARY
FLTK_FLUID_EXECUTABLE
FLTK_FORMS_LIBRARY
FLTK_GL_LIBRARY
FLTK_IMAGES_LIBRARY
FLTK_INCLUDE_DIR
make sure that they are pointing to the
right place, where the FLTK components are.
Here is for example how this variables look
in my installation.
FLTK_BASE_LIBRARY:FILEPATH=/home/ibanez/share/fltk1.1rc6/lib/libfltk.a
FLTK_FLUID_EXECUTABLE:FILEPATH=/home/ibanez/bin/fluid
FLTK_FORMS_LIBRARY:FILEPATH=/home/ibanez/share/fltk1.1rc6/lib/libfltk_forms.a
FLTK_GL_LIBRARY:FILEPATH=/home/ibanez/share/fltk1.1rc6/lib/libfltk_gl.a
FLTK_IMAGES_LIBRARY:FILEPATH=/home/ibanez/share/fltk1.1rc6/lib/libfltk_images.a
FLTK_INCLUDE_DIR:PATH=/home/ibanez/share/fltk1.1rc6/include
FLTK_VERSION_1.0.11:BOOL=OFF
FLTK_VERSION_1.1:BOOL=ON
Let us know if you still have any problems,
Thanks
Luis
----------------------------------
salah wrote:
> Hi Luis,
>
> I tried to make my program refer to fltk-1.0.11 (by modifying the options in "Project Settings" ), It produces only the following errors
>
>
>
> --------------------Configuration: MastoidSegmentor - Win32 Debug--------------------
> Compiling...
> ColorViewerGUI.cpp
> main.cpp
> Mastoid.cpp
> MastoidBase.cpp
> MastoidGUI.cxx
> Generating Code...
> Linking...
> Creating library Debug/MastoidSementor.lib and object Debug/MastoidSementor.exp
> itkFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved external symbol "enum Fl_Boxtype __cdecl fl_define_FL_ROUND_UP_BOX(void)" (?fl_define_FL_ROUND_UP_BOX@@YA?AW4Fl_Boxtype@@XZ)
> itkFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved external symbol "enum Fl_Boxtype __cdecl fl_define_FL_DIAMOND_BOX(void)" (?fl_define_FL_DIAMOND_BOX@@YA?AW4Fl_Boxtype@@XZ)
> Debug/MastoidSementor.exe : fatal error LNK1120: 2 unresolved externals
> Error executing link.exe.
> Creating browse info file...
>
> MastoidSementor.exe - 3 error(s), 0 warning(s)
>
>
>
>
>
>
> could this be of some meaning???
>
> Thanks,
>
> Zein
>
>
>
> //////////////////////////////////////////////////////////////////////////
> -----Ursprüngliche Nachricht-----
> Von: salah
> Gesendet: Donnerstag, 30. Januar 2003 17:06
> An: 'Luis Ibanez'
> Betreff: AW: Pleeeeeeeeeeeeeease!!! Help building itk+fltk!!
>
>
> Thanks again Luis,
>
> In fact I still have the problem with fltk!!!! So I returned to use the itk release of oct2002 with fltk-1.0.11 !!!!!!
>
>
> I have downlowded with CVS the lastest itk and built together with fltk-1.1.0rc4 as you suggestet.
> My program reported 50 errors!! They are attacked with this message.
>
>
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Luis Ibanez [mailto:luis.ibanez@kitware.com]
> Gesendet: Donnerstag, 30. Januar 2003 16:56
> An: salah
> Betreff: Re: Pleeeeeeeeeeeeeease!!! Help building itk+fltk!!
>
>
> Hi Zein,
>
> I didn't get the error messages with your email.
>
> Are you still having trouble with FLTK ?
>
> Could you post your error messages ?
>
> Thanks
>
> Luis
>
> ---------------------------------
>
> salah wrote:
>
>>Hi Luis,
>>
>>Pleaaaaaaaaaaaaaaaaaaaase tell me how to build itk with fltk. I am trying for three days. the buld process goes without any problem. But my program (which was running fine on the release of oct 2002 and fltk-1.0.11) does not work nay more. All the many error message are related with fltk. i have attacked with email the compilation result of my program.
>>
>>In building fltk, is there something to do other than the instructions in
>>http://caddlab.rad.unc.edu/publications/Tutorials/Summer-02/itk_windows_installation.pdf
>>????
>>
>>
>>
>>
>>
>>-----Ursprüngliche Nachricht-----
>>Von: Luis Ibanez [mailto:luis.ibanez@kitware.com]
>>Gesendet: Montag, 27. Januar 2003 15:49
>>An: salah
>>Cc: ITK Users
>>Betreff: Re: [Insight-users] Which FLTK??
>>
>>
>>
>>Hi Zein,
>>
>>Please use FLTK version 1.1.0rc4.
>>
>>This is not the latest, but it is one
>>that works fine both in Windows and
>>Unix.
>>
>>For your convenience, the sources are
>>available in the "RelatedSoftware" page
>>of www.itk.org:
>>
>>http://www.itk.org/HTML/DownloadRelatedSoftware.htm
>>
>>For Windows
>>http://www.itk.org/HTML/fltk-1.1.0rc4-source.zip
>>
>>For Unix
>>http://www.itk.org/HTML/fltk-1.1.0rc4-source.tar.gz
>>
>>
>>
>> Luis
>>
>>
>>---------------------------------
>>salah wrote:
>>
>>
>>>hi all,
>>>
>>>which version of FLTK is it better to use with the latest itk??
>>>
>>>Thanks
>>>Zein
>>>
>>>
>>>->8<------------->8<------------->8<------------->8<------------->8<------------->8<-
>>>Zein I. Salah
>>>University of Tübingen, WSI-GRIS, Sand 14, 72076 Tübingen
>>>Email: salah@gris.uni-tuebingen.de / zeinsalah@hotmail.com
>>>Tel.: (07071) 29 75465 (GRIS) , (07071) 25 69 43 (privat)
>>>Fax: (07071) 29 54 66
>>>
>>>_______________________________________________
>>>Insight-users mailing list
>>>Insight-users@public.kitware.com
>>>http://public.kitware.com/mailman/listinfo/insight-users
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> --------------------Configuration: GaussianFilter - Win32 Debug--------------------
> Linking...
> Creating library Debug/ZeinTester.lib and object Debug/ZeinTester.exp
> ColorViewerGUI.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall Fl_Gl_Window::draw_overlay(void)" (?draw_overlay@Fl_Gl_Window@@EAEXXZ)
> Mastoid.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall Fl_Gl_Window::draw_overlay(void)" (?draw_overlay@Fl_Gl_Window@@EAEXXZ)
> MastoidBase.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall Fl_Gl_Window::draw_overlay(void)" (?draw_overlay@Fl_Gl_Window@@EAEXXZ)
> itkFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved external symbol "private: virtual void __thiscall Fl_Gl_Window::draw_overlay(void)" (?draw_overlay@Fl_Gl_Window@@EAEXXZ)
> ColorViewerGUI.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::hide(void)" (?hide@Fl_Gl_Window@@UAEXXZ)
> Mastoid.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::hide(void)" (?hide@Fl_Gl_Window@@UAEXXZ)
> MastoidBase.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::hide(void)" (?hide@Fl_Gl_Window@@UAEXXZ)
> itkFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::hide(void)" (?hide@Fl_Gl_Window@@UAEXXZ)
> ColorViewerGUI.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::show(void)" (?show@Fl_Gl_Window@@UAEXXZ)
> Mastoid.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::show(void)" (?show@Fl_Gl_Window@@UAEXXZ)
> MastoidBase.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::show(void)" (?show@Fl_Gl_Window@@UAEXXZ)
> itkFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::show(void)" (?show@Fl_Gl_Window@@UAEXXZ)
> ColorViewerGUI.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::flush(void)" (?flush@Fl_Gl_Window@@UAEXXZ)
> Mastoid.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::flush(void)" (?flush@Fl_Gl_Window@@UAEXXZ)
> MastoidBase.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::flush(void)" (?flush@Fl_Gl_Window@@UAEXXZ)
> itkFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::flush(void)" (?flush@Fl_Gl_Window@@UAEXXZ)
> ColorViewerGUI.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::resize(int,int,int,int)" (?resize@Fl_Gl_Window@@UAEXHHHH@Z)
> Mastoid.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::resize(int,int,int,int)" (?resize@Fl_Gl_Window@@UAEXHHHH@Z)
> MastoidBase.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::resize(int,int,int,int)" (?resize@Fl_Gl_Window@@UAEXHHHH@Z)
> itkFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Gl_Window::resize(int,int,int,int)" (?resize@Fl_Gl_Window@@UAEXHHHH@Z)
> ColorViewerGUI.obj : error LNK2001: unresolved external symbol "void __cdecl gl_draw(char const *,int,int)" (?gl_draw@@YAXPBDHH@Z)
> Mastoid.obj : error LNK2001: unresolved external symbol "void __cdecl gl_draw(char const *,int,int)" (?gl_draw@@YAXPBDHH@Z)
> MastoidBase.obj : error LNK2001: unresolved external symbol "void __cdecl gl_draw(char const *,int,int)" (?gl_draw@@YAXPBDHH@Z)
> ColorViewerGUI.obj : error LNK2001: unresolved external symbol "void __cdecl gl_draw(char const *,float,float)" (?gl_draw@@YAXPBDMM@Z)
> Mastoid.obj : error LNK2001: unresolved external symbol "void __cdecl gl_draw(char const *,float,float)" (?gl_draw@@YAXPBDMM@Z)
> MastoidBase.obj : error LNK2001: unresolved external symbol "void __cdecl gl_draw(char const *,float,float)" (?gl_draw@@YAXPBDMM@Z)
> ColorViewerGUI.obj : error LNK2001: unresolved external symbol "double __cdecl gl_width(char const *)" (?gl_width@@YANPBD@Z)
> Mastoid.obj : error LNK2001: unresolved external symbol "double __cdecl gl_width(char const *)" (?gl_width@@YANPBD@Z)
> MastoidBase.obj : error LNK2001: unresolved external symbol "double __cdecl gl_width(char const *)" (?gl_width@@YANPBD@Z)
> ColorViewerGUI.obj : error LNK2001: unresolved external symbol "int __cdecl gl_height(void)" (?gl_height@@YAHXZ)
> Mastoid.obj : error LNK2001: unresolved external symbol "int __cdecl gl_height(void)" (?gl_height@@YAHXZ)
> MastoidBase.obj : error LNK2001: unresolved external symbol "int __cdecl gl_height(void)" (?gl_height@@YAHXZ)
> ColorViewerGUI.obj : error LNK2001: unresolved external symbol "void __cdecl gl_font(int,int)" (?gl_font@@YAXHH@Z)
> Mastoid.obj : error LNK2001: unresolved external symbol "void __cdecl gl_font(int,int)" (?gl_font@@YAXHH@Z)
> MastoidBase.obj : error LNK2001: unresolved external symbol "void __cdecl gl_font(int,int)" (?gl_font@@YAXHH@Z)
> ColorViewerGUI.obj : error LNK2001: unresolved external symbol "public: void __thiscall Fl_Gl_Window::ortho(void)" (?ortho@Fl_Gl_Window@@QAEXXZ)
> Mastoid.obj : error LNK2001: unresolved external symbol "public: void __thiscall Fl_Gl_Window::ortho(void)" (?ortho@Fl_Gl_Window@@QAEXXZ)
> MastoidBase.obj : error LNK2001: unresolved external symbol "public: void __thiscall Fl_Gl_Window::ortho(void)" (?ortho@Fl_Gl_Window@@QAEXXZ)
> ColorViewerGUI.obj : error LNK2001: unresolved external symbol "public: void __thiscall Fl_Gl_Window::make_current(void)" (?make_current@Fl_Gl_Window@@QAEXXZ)
> Mastoid.obj : error LNK2001: unresolved external symbol "public: void __thiscall Fl_Gl_Window::make_current(void)" (?make_current@Fl_Gl_Window@@QAEXXZ)
> MastoidBase.obj : error LNK2001: unresolved external symbol "public: void __thiscall Fl_Gl_Window::make_current(void)" (?make_current@Fl_Gl_Window@@QAEXXZ)
> ColorViewerGUI.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall Fl_Gl_Window::~Fl_Gl_Window(void)" (??1Fl_Gl_Window@@UAE@XZ)
> Mastoid.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall Fl_Gl_Window::~Fl_Gl_Window(void)" (??1Fl_Gl_Window@@UAE@XZ)
> MastoidBase.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall Fl_Gl_Window::~Fl_Gl_Window(void)" (??1Fl_Gl_Window@@UAE@XZ)
> itkFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall Fl_Gl_Window::~Fl_Gl_Window(void)" (??1Fl_Gl_Window@@UAE@XZ)
> ColorViewerGUI.obj : error LNK2001: unresolved external symbol "private: void __thiscall Fl_Gl_Window::init(void)" (?init@Fl_Gl_Window@@AAEXXZ)
> Mastoid.obj : error LNK2001: unresolved external symbol "private: void __thiscall Fl_Gl_Window::init(void)" (?init@Fl_Gl_Window@@AAEXXZ)
> MastoidBase.obj : error LNK2001: unresolved external symbol "private: void __thiscall Fl_Gl_Window::init(void)" (?init@Fl_Gl_Window@@AAEXXZ)
> itkFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved external symbol "private: void __thiscall Fl_Gl_Window::init(void)" (?init@Fl_Gl_Window@@AAEXXZ)
> Debug/ZeinTester.exe : fatal error LNK1120: 14 unresolved externals
> Error executing link.exe.
>
> ZeinTester.exe - 50 error(s), 0 warning(s)
>
> error_ITK_FLTK.txt
>
> Content-Description:
>
> error_ITK_FLTK.txt
> Content-Type:
>
> text/plain
> Content-Encoding:
>
> base64
>
>