[Insight-users] Re: How to separate an Application in independent project?
Luis Ibanez
luis.ibanez at kitware.com
Sat, 10 Apr 2004 12:12:04 -0400
Hi Deliang,
The errors that you get are link-time errors,
and are unrelated to the location of headers
(that would have appeared as compiler errors...).
The link errors in your build indicate that you
have not provided the paths for the FLTK libraries.
Please look at the FAQ for instructions on how to
do this. You will also find a description in the
tutorials
http://www.itk.org/HTML/Tutorials.htm
in particular in
http://www.itk.org/CourseWare/Training/GettingStarted-IV.pdf
Regards,
Luis
------------------
Deliang Ye wrote:
> Dear Luis,
>
> I would like to separate the RegionGrowingSegmentation from the
> ITKApplications examples, I refer to many of your emails in Insight-users
> about this issue, but I still fail.
>
> It seems the application did not find some header files of
> ITKFltkImageViewer.lib, ITKVtkFltk.lib. I attached the CMakeLists file,
> please check it.
>
> Do you have a template of CMakeLists file to separate an application from
> the ITK application examples?
>
> Appreciate you very much for your help!
>
> -Deliang
>
>
> The following are link errors:
>
> --------------------Configuration: RegionGrowingSegmentation - Win32
> Debug--------------------
> Linking...
> Creating library Debug/RegionGrowingSegmentation.lib and object
> Debug/RegionGrowingSegmentation.exp
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "enum Fl_Boxtype __cdecl fl_define_FL_DIAMOND_BOX(void)"
> (?fl_define_FL_DIAMOND_BOX at at YA?AW4Fl_Boxtype at at 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 at at YA?AW4Fl_Boxtype at at XZ)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: __thiscall Fl_Check_Button::Fl_Check_Button(int,int,int,int,char
> const *)" (??0Fl_Check_Button at at QAE at HHHHPBD at Z)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: __thiscall Fl_Value_Input::Fl_Value_Input(int,int,int,int,char
> const *)" (??0Fl_Value_Input at at QAE at HHHHPBD at Z)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: void __thiscall Fl_Valuator::step(double)"
> (?step at Fl_Valuator at at QAEXN at Z)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: void __thiscall Fl_Valuator::step(double)"
> (?step at Fl_Valuator at at QAEXN at Z)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: __thiscall Fl_Value_Output::Fl_Value_Output(int,int,int,int,char
> const *)" (??0Fl_Value_Output at at QAE at HHHHPBD at Z)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: int __thiscall Fl_Valuator::value(double)"
> (?value at Fl_Valuator at at QAEHN at Z)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: int __thiscall Fl_Valuator::value(double)"
> (?value at Fl_Valuator at at QAEHN at Z)
> ITKFltkImageViewer.lib(fltkProgressBar.obj) : error LNK2001: unresolved
> external symbol "public: int __thiscall Fl_Valuator::value(double)"
> (?value at Fl_Valuator at at QAEHN at Z)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: int __thiscall Fl_Valuator::value(double)"
> (?value at Fl_Valuator at at QAEHN at Z)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: __thiscall Fl_Counter::Fl_Counter(int,int,int,int,char const *)"
> (??0Fl_Counter at at QAE at HHHHPBD at Z)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "enum Fl_Boxtype __cdecl fl_define_FL_ROUND_UP_BOX(void)"
> (?fl_define_FL_ROUND_UP_BOX at at YA?AW4Fl_Boxtype at at XZ)
> 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 at at YA?AW4Fl_Boxtype at at XZ)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: __thiscall Fl_Button::Fl_Button(int,int,int,int,char const *)"
> (??0Fl_Button at at QAE at HHHHPBD at Z)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: __thiscall
> Fl_Button::Fl_Button(int,int,int,int,char const *)"
> (??0Fl_Button at at QAE at HHHHPBD at Z)
> ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
> symbol "public: __thiscall Fl_Button::Fl_Button(int,int,int,int,char const
> *)" (??0Fl_Button at at QAE at HHHHPBD at Z)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: int __thiscall Fl_Button::value(int)" (?value at Fl_Button at at QAEHH at Z)
> ITKFltkImageViewer.lib(fltkLightButton.obj) : error LNK2001: unresolved
> external symbol "public: int __thiscall Fl_Button::value(int)"
> (?value at Fl_Button at at QAEHH at Z)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: void __thiscall Fl_Widget::deactivate(void)"
> (?deactivate at Fl_Widget at at QAEXXZ)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: void __thiscall Fl_Widget::deactivate(void)"
> (?deactivate at Fl_Widget at at QAEXXZ)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: void __thiscall Fl_Group::end(void)"
> (?end at Fl_Group at at QAEXXZ)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: void __thiscall Fl_Group::end(void)" (?end at Fl_Group at at QAEXXZ)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.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)
> ITKVtkFltk.lib(fltkVTKImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: void __thiscall Fl_Group::end(void)"
> (?end at Fl_Group at at QAEXXZ)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: __thiscall Fl_Group::Fl_Group(int,int,int,int,char const *)"
> (??0Fl_Group at at QAE at HHHHPBD at Z)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: __thiscall Fl_Group::Fl_Group(int,int,int,int,char
> const *)" (??0Fl_Group at at QAE at HHHHPBD at Z)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: virtual void __thiscall Fl_Double_Window::hide(void)"
> (?hide at Fl_Double_Window at at UAEXXZ)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall
> Fl_Double_Window::hide(void)" (?hide at Fl_Double_Window at at UAEXXZ)
> ITKVtkFltk.lib(fltkVTKImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall Fl_Double_Window::hide(void
> )" (?hide at Fl_Double_Window at at UAEXXZ)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: virtual void __thiscall Fl_Double_Window::show(void)"
> (?show at Fl_Double_Window at at UAEXXZ)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall
> Fl_Double_Window::show(void)" (?show at Fl_Double_Window at at UAEXXZ)
> ITKVtkFltk.lib(fltkVTKImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall
> Fl_Double_Window::show(void)" (?show at Fl_Double_Window at at UAEXXZ)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: virtual void __thiscall Fl_Double_Window::flush(void)"
> (?flush at Fl_Double_Window at at UAEXXZ)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall
> Fl_Double_Window::flush(void)" (?flush at Fl_Double_Window at at UAEXXZ)
> ITKVtkFltk.lib(fltkVTKImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall
> Fl_Double_Window::flush(void)" (?flush at Fl_Double_Window at at UAEXXZ)
> RegionGrowingSegmentationGUI.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)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.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)
> ITKVtkFltk.lib(fltkVTKImageViewerGUI.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)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: virtual int __thiscall Fl_Window::handle(int)"
> (?handle at Fl_Window at at UAEHH at Z)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: virtual int __thiscall Fl_Window::handle(int)"
> (?handle at Fl_Window at at UAEHH at Z)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: virtual int __thiscall Fl_Window::handle(int)"
> (?handle at Fl_Window at at UAEHH at Z)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual int __thiscall Fl_Window::handle(int)"
> (?handle at Fl_Window at at UAEHH at Z)
> ITKVtkFltk.lib(fltkVTKImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual int __thiscall Fl_Window::handle(int)"
> (?handle at Fl_Window at at UAEHH at Z)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "protected: virtual void __thiscall Fl_Window::draw(void)"
> (?draw at Fl_Window at at MAEXXZ)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "protected: virtual void __thiscall Fl_Window::draw(void)"
> (?draw at Fl_Window at at MAEXXZ)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "protected: virtual void __thiscall Fl_Window::draw(void)"
> (?draw at Fl_Window at at MAEXXZ)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "protected: virtual void __thiscall Fl_Window::draw(void)"
> (?draw at Fl_Window at at MAEXXZ)
> ITKVtkFltk.lib(fltkVTKImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "protected: virtual void __thiscall Fl_Window::draw(void)"
> (?draw at Fl_Window at at MAEXXZ)
> ITKVtkFltk.lib(fltkVTKImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual __thiscall Fl_Window::~Fl_Window(void)"
> (??1Fl_Window at at UAE at XZ)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: virtual __thiscall Fl_Window::~Fl_Window(void)"
> (??1Fl_Window at at UAE at XZ)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: virtual __thiscall Fl_Window::~Fl_Window(void)"
> (??1Fl_Window at at UAE at XZ)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: virtual __thiscall Fl_Window::~Fl_Window(void)"
> (??1Fl_Window at at UAE at XZ)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.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)
> RegionGrowingSegmentationGUI.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(fltkImageViewerGUI.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)
> ITKVtkFltk.lib(fltkVTKImageViewerGUI.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)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: virtual __thiscall Fl_Double_Window::~Fl_Double_Window(void)"
> (??1Fl_Double_Window at at UAE at XZ)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual __thiscall
> Fl_Double_Window::~Fl_Double_Window(void)" (??1Fl_Double_Window at at UAE at XZ)
> ITKVtkFltk.lib(fltkVTKImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual __thiscall
> Fl_Double_Window::~Fl_Double_Window(void)" (??1Fl_Double_Window at at UAE at XZ)
> ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
> symbol "public: virtual void __thiscall Fl_Widget::resize(int,int,int,int)"
> (?resize at Fl_Widget at at UAEXHHHH at Z)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: virtual void __thiscall Fl_Widget::resize(int,int,int,int)"
> (?resize at Fl_Widget at at UAEXHHHH at Z)
> ITKFltkImageViewer.lib(fltkProgressBar.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall
> Fl_Widget::resize(int,int,int,int)" (?resize at Fl_Widget at at UAEXHHHH at Z)
> ITKFltkImageViewer.lib(fltkLightButton.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall
> Fl_Widget::resize(int,int,int,int)" (?resize at Fl_Widget at at UAEXHHHH at Z)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall
> Fl_Widget::resize(int,int,int,int)" (?resize at Fl_Widget at at UAEXHHHH at Z)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: virtual int __thiscall Fl_Box::handle(int)"
> (?handle at Fl_Box at at UAEHH at Z)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "protected: virtual void __thiscall Fl_Box::draw(void)"
> (?draw at Fl_Box at at MAEXXZ)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "protected: __thiscall Fl_Widget::Fl_Widget(int,int,int,int,char const *)"
> (??0Fl_Widget at at IAE at HHHHPBD at Z)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: virtual __thiscall Fl_Widget::~Fl_Widget(void)"
> (??1Fl_Widget at at UAE at XZ)
> ITKFltkImageViewer.lib(fltkProgressBar.obj) : error LNK2001: unresolved
> external symbol "public: virtual __thiscall Fl_Widget::~Fl_Widget(void)"
> (??1Fl_Widget at at UAE at XZ)
> ITKFltkImageViewer.lib(fltkLightButton.obj) : error LNK2001: unresolved
> external symbol "public: virtual __thiscall Fl_Widget::~Fl_Widget(void)"
> (??1Fl_Widget at at UAE at XZ)
> ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
> symbol "public: virtual __thiscall Fl_Widget::~Fl_Widget(void)"
> (??1Fl_Widget at at UAE at XZ)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: virtual void __thiscall Fl_Input_::resize(int,int,int,int)"
> (?resize at Fl_Input_ at at UAEXHHHH at Z)
> ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
> symbol "public: virtual void __thiscall Fl_Input_::resize(int,int,int,int)"
> (?resize at Fl_Input_ at at UAEXHHHH at Z)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: virtual int __thiscall Fl_Input::handle(int)"
> (?handle at Fl_Input at at UAEHH at Z)
> ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
> symbol "public: virtual int __thiscall Fl_Input::handle(int)"
> (?handle at Fl_Input at at UAEHH at Z)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: virtual void __thiscall Fl_Input::draw(void)"
> (?draw at Fl_Input at at UAEXXZ)
> ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
> symbol "public: virtual void __thiscall Fl_Input::draw(void)"
> (?draw at Fl_Input at at UAEXXZ)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: __thiscall Fl_Input::Fl_Input(int,int,int,int,char const *)"
> (??0Fl_Input at at QAE at HHHHPBD at Z)
> ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
> symbol "public: __thiscall Fl_Input::Fl_Input(int,int,int,int,char const *)"
> (??0Fl_Input at at QAE at HHHHPBD at Z)
> RegionGrowingSegmentationGUI.obj : error LNK2001: unresolved external symbol
> "public: virtual __thiscall Fl_Input_::~Fl_Input_(void)"
> (??1Fl_Input_ at at UAE at XZ)
> ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
> symbol "public: virtual __thiscall Fl_Input_::~Fl_Input_(void)"
> (??1Fl_Input_ at at UAE at XZ)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "char * __cdecl fl_file_chooser(char const *,char const *,char const *,int)"
> (?fl_file_chooser at at YAPADPBD00H at Z)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: void __thiscall Fl_Widget::activate(void)"
> (?activate at Fl_Widget at at QAEXXZ)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: static int __cdecl Fl::check(void)" (?check at Fl at at SAHXZ)
> ITKFltkImageViewer.lib(fltkProgressBar.obj) : error LNK2001: unresolved
> external symbol "public: static int __cdecl Fl::check(void)"
> (?check at Fl at at SAHXZ)
> ITKFltkImageViewer.lib(fltkLightButton.obj) : error LNK2001: unresolved
> external symbol "public: static int __cdecl Fl::check(void)"
> (?check at Fl at at SAHXZ)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: int __thiscall Fl_Input_::value(char const *)"
> (?value at Fl_Input_ at at QAEHPBD at Z)
> ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
> symbol "public: int __thiscall Fl_Input_::value(char const *)"
> (?value at Fl_Input_ at at QAEHPBD at Z)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: static int __cdecl Fl::run(void)" (?run at Fl at at SAHXZ)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: void __thiscall Fl_Widget::redraw(void)"
> (?redraw at Fl_Widget at at QAEXXZ)
> ITKFltkImageViewer.lib(fltkProgressBar.obj) : error LNK2001: unresolved
> external symbol "public: void __thiscall Fl_Widget::redraw(void)"
> (?redraw at Fl_Widget at at QAEXXZ)
> ITKFltkImageViewer.lib(fltkLightButton.obj) : error LNK2001: unresolved
> external symbol "public: void __thiscall Fl_Widget::redraw(void)"
> (?redraw at Fl_Widget at at QAEXXZ)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: void __thiscall Fl_Group::remove(class Fl_Widget &)"
> (?remove at Fl_Group at at QAEXAAVFl_Widget at at at Z)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: void __thiscall Fl_Group::remove(class Fl_Widget
> &)" (?remove at Fl_Group at at QAEXAAVFl_Widget at at at Z)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: void __thiscall Fl_Window::label(char const *)"
> (?label at Fl_Window at at QAEXPBD at Z)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: void __thiscall Fl_Browser::add(char const *,void *)"
> (?add at Fl_Browser at at QAEXPBDPAX at Z)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: void __thiscall Fl_Browser::clear(void)"
> (?clear at Fl_Browser at at QAEXXZ)
> RegionGrowingSegmentation.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)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.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)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.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)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: virtual void __thiscall Fl_Gl_Window::hide(void)"
> (?hide at Fl_Gl_Window at at UAEXXZ)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall Fl_Gl_Window::hide(void)"
> (?hide at Fl_Gl_Window at at UAEXXZ)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall Fl_Gl_Window::hide(void)"
> (?hide at Fl_Gl_Window at at UAEXXZ)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: virtual void __thiscall Fl_Gl_Window::show(void)"
> (?show at Fl_Gl_Window at at UAEXXZ)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall Fl_Gl_Window::show(void)"
> (?show at Fl_Gl_Window at at UAEXXZ)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall Fl_Gl_Window::show(void)"
> (?show at Fl_Gl_Window at at UAEXXZ)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: virtual void __thiscall Fl_Gl_Window::flush(void)"
> (?flush at Fl_Gl_Window at at UAEXXZ)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall Fl_Gl_Window::flush(void)"
> (?flush at Fl_Gl_Window at at UAEXXZ)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall Fl_Gl_Window::flush(void)"
> (?flush at Fl_Gl_Window at at UAEXXZ)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: virtual __thiscall Fl_Gl_Window::~Fl_Gl_Window(void)"
> (??1Fl_Gl_Window at at UAE at XZ)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual __thiscall
> Fl_Gl_Window::~Fl_Gl_Window(void)" (??1Fl_Gl_Window at at UAE at XZ)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: virtual __thiscall
> Fl_Gl_Window::~Fl_Gl_Window(void)" (??1Fl_Gl_Window at at UAE at XZ)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: virtual void __thiscall Fl_Gl_Window::resize(int,int,int,int)"
> (?resize at Fl_Gl_Window at at UAEXHHHH at Z)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall
> Fl_Gl_Window::resize(int,int,int,int)" (?resize at Fl_Gl_Window at at UAEXHHHH at Z)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall
> Fl_Gl_Window::resize(int,int,int,int)" (?resize at Fl_Gl_Window at at UAEXHHHH at Z)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "private: void __thiscall Fl_Gl_Window::init(void)"
> (?init at Fl_Gl_Window at at AAEXXZ)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "private: void __thiscall Fl_Gl_Window::init(void)"
> (?init at Fl_Gl_Window at at AAEXXZ)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "private: void __thiscall Fl_Gl_Window::init(void)"
> (?init at Fl_Gl_Window at at AAEXXZ)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: __thiscall Fl_Window::Fl_Window(int,int,int,int,char const *)"
> (??0Fl_Window at at QAE at HHHHPBD at Z)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: __thiscall
> Fl_Window::Fl_Window(int,int,int,int,char const *)"
> (??0Fl_Window at at QAE at HHHHPBD at Z)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: __thiscall
> Fl_Window::Fl_Window(int,int,int,int,char const *)"
> (??0Fl_Window at at QAE at HHHHPBD at Z)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: static int Fl::e_x" (?e_x at Fl at at 2HA)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: static int Fl::e_x" (?e_x at Fl at at 2HA)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: static int Fl::e_y" (?e_y at Fl at at 2HA)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: static int Fl::e_y" (?e_y at Fl at at 2HA)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: static int Fl::e_keysym" (?e_keysym at Fl at at 2HA)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: static int Fl::e_keysym" (?e_keysym at Fl at at 2HA)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: static char * Fl::e_text" (?e_text at Fl at at 2PADA)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "void __cdecl gl_draw(char const *,int,int)" (?gl_draw at at YAXPBDHH at Z)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "void __cdecl gl_draw(char const *,float,float)" (?gl_draw at at YAXPBDMM at Z)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "double __cdecl gl_width(char const *)" (?gl_width at at YANPBD at Z)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "int __cdecl gl_height(void)" (?gl_height at at YAHXZ)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "void __cdecl gl_font(int,int)" (?gl_font at at YAXHH at Z)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: void __thiscall Fl_Gl_Window::ortho(void)"
> (?ortho at Fl_Gl_Window at at QAEXXZ)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "void __cdecl fl_overlay_rect(int,int,int,int)"
> (?fl_overlay_rect at at YAXHHHH at Z)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "void __cdecl fl_overlay_clear(void)" (?fl_overlay_clear at at YAXXZ)
> RegionGrowingSegmentation.obj : error LNK2001: unresolved external symbol
> "public: void __thiscall Fl_Gl_Window::make_current(void)"
> (?make_current at Fl_Gl_Window at at QAEXXZ)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: void __thiscall Fl_Gl_Window::make_current(void)"
> (?make_current at Fl_Gl_Window at at QAEXXZ)
> ITKFltkImageViewer.lib(fltkProgressBar.obj) : error LNK2001: unresolved
> external symbol "public: virtual int __thiscall Fl_Valuator::format(char *)"
> (?format at Fl_Valuator at at UAEHPAD at Z)
> ITKFltkImageViewer.lib(fltkProgressBar.obj) : error LNK2001: unresolved
> external symbol "protected: virtual void __thiscall
> Fl_Valuator::value_damage(void)" (?value_damage at Fl_Valuator at at MAEXXZ)
> ITKFltkImageViewer.lib(fltkProgressBar.obj) : error LNK2001: unresolved
> external symbol "public: virtual int __thiscall Fl_Slider::handle(int)"
> (?handle at Fl_Slider at at UAEHH at Z)
> ITKFltkImageViewer.lib(fltkProgressBar.obj) : error LNK2001: unresolved
> external symbol "public: virtual void __thiscall Fl_Slider::draw(void)"
> (?draw at Fl_Slider at at UAEXXZ)
> ITKFltkImageViewer.lib(fltkProgressBar.obj) : error LNK2001: unresolved
> external symbol "public: __thiscall
> Fl_Slider::Fl_Slider(int,int,int,int,char const *)"
> (??0Fl_Slider at at QAE at HHHHPBD at Z)
> ITKFltkImageViewer.lib(fltkLightButton.obj) : error LNK2001: unresolved
> external symbol "public: virtual int __thiscall
> Fl_Light_Button::handle(int)" (?handle at Fl_Light_Button at at UAEHH at Z)
> ITKFltkImageViewer.lib(fltkLightButton.obj) : error LNK2001: unresolved
> external symbol "protected: virtual void __thiscall
> Fl_Light_Button::draw(void)" (?draw at Fl_Light_Button at at MAEXXZ)
> ITKFltkImageViewer.lib(fltkLightButton.obj) : error LNK2001: unresolved
> external symbol "public: __thiscall
> Fl_Light_Button::Fl_Light_Button(int,int,int,int,char const *)"
> (??0Fl_Light_Button at at QAE at HHHHPBD at Z)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: __thiscall
> Fl_Browser::Fl_Browser(int,int,int,int,char const *)"
> (??0Fl_Browser at at QAE at HHHHPBD at Z)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: __thiscall
> Fl_Value_Slider::Fl_Value_Slider(int,int,int,int,char const *)"
> (??0Fl_Value_Slider at at QAE at HHHHPBD at Z)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: void __thiscall Fl_Menu_::menu(struct Fl_Menu_Item
> const *)" (?menu at Fl_Menu_ at at QAEXPBUFl_Menu_Item at at at Z)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: __thiscall
> Fl_Choice::Fl_Choice(int,int,int,int,char const *)"
> (??0Fl_Choice at at QAE at HHHHPBD at Z)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual int __thiscall Fl_Menu_Bar::handle(int)"
> (?handle at Fl_Menu_Bar at at UAEHH at Z)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "protected: virtual void __thiscall Fl_Menu_Bar::draw(void)"
> (?draw at Fl_Menu_Bar at at MAEXXZ)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: __thiscall Fl_Menu_::Fl_Menu_(int,int,int,int,char
> const *)" (??0Fl_Menu_ at at QAE at HHHHPBD at Z)
> ITKFltkImageViewer.lib(fltkImageViewerGUI.obj) : error LNK2001: unresolved
> external symbol "public: virtual __thiscall Fl_Menu_::~Fl_Menu_(void)"
> (??1Fl_Menu_ at at UAE at XZ)
> ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
> symbol "public: static class Fl_Widget * __cdecl Fl::readqueue(void)"
> (?readqueue at Fl at at SAPAVFl_Widget at at XZ)
> ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
> symbol "public: static int __cdecl Fl::wait(void)" (?wait at Fl at at SAHXZ)
> ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
> symbol "public: virtual void __thiscall Fl_Window::show(void)"
> (?show at Fl_Window at at UAEXXZ)
> ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
> symbol "public: void __thiscall Fl_Window::hotspot(class Fl_Widget const
> *,int)" (?hotspot at Fl_Window at at QAEXPBVFl_Widget at at H at Z)
> ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
> symbol "public: virtual int __thiscall Fl_Return_Button::handle(int)"
> (?handle at Fl_Return_Button at at UAEHH at Z)
> ITKFltkImageViewer.lib(fltkUtils.obj) : error LNK2001: unresolved external
> symbol "protected: virtual void __thiscall Fl_Return_Button::draw(void)"
> (?draw at Fl_Return_Button at at MAEXXZ)
> ITKVtkFltk.lib(fltkVTKImageViewerGUI.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)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: static void __cdecl Fl::repeat_timeout(double,void
> (__cdecl*)(void *),void *)" (?repeat_timeout at Fl at at SAXNP6AXPAX at Z0 at Z)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: static void __cdecl Fl::add_timeout(double,void
> (__cdecl*)(void *),void *)" (?add_timeout at Fl at at SAXNP6AXPAX at Z0 at Z)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: int __thiscall Fl_Widget::take_focus(void)"
> (?take_focus at Fl_Widget at at QAEHXZ)
> ITKVtkFltk.lib(vtkFlRenderWindowInteractor.obj) : error LNK2001: unresolved
> external symbol "public: static int Fl::e_state" (?e_state at Fl at at 2HA)
> Debug/RegionGrowingSegmentation.exe : fatal error LNK1120: 90 unresolved
> externals
> Error executing link.exe.
>
> ALL_BUILD - 170 error(s), 0 warning(s)
>
>
> ------------------------------------------------------------------------
>
> PROJECT( RegionGrowingSegmentation )
>
> #
> # FIND ITK
> #
> FIND_PACKAGE(ITK)
> IF (USE_ITK_FILE)
> INCLUDE (${USE_ITK_FILE})
> ELSE (USE_ITK_FILE)
> MESSAGE( FATAL_ERROR "This application requires ITK. One of these components is missing. Please verify configuration")
> ENDIF (USE_ITK_FILE)
>
>
> #
> # FIND VTK
> #
> FIND_PACKAGE(VTK)
> IF (USE_VTK_FILE)
> INCLUDE (${USE_VTK_FILE})
> ELSE (USE_VTK_FILE)
> MESSAGE( FATAL_ERROR "This application requires VTK. One of these components is missing. Please verify configuration")
> ENDIF (USE_VTK_FILE)
>
>
>
> #
> # FIND FLTK
> #
> FIND_PACKAGE(FLTK)
> IF (FLTK_FOUND)
> INCLUDE_DIRECTORIES (${FLTK_INCLUDE_DIR})
> ELSE (FLTK_FOUND)
> MESSAGE( FATAL_ERROR "This application requires FLTK. One of these components is missing. Please verify configuration")
> ENDIF (FLTK_FOUND)
>
>
> FIND_PATH(InsightApplications_SOURCE_DIR CMakeList.txt)
>
> FIND_PATH(InsightApplications_BINARY_DIR CMakeCache.txt)
>
>
> INCLUDE_DIRECTORIES(
> ${InsightApplications_SOURCE_DIR}/Auxiliary/FltkImageViewer
> ${InsightApplications_SOURCE_DIR}/Auxiliary/VtkFltk
> ${InsightApplications_SOURCE_DIR}/Auxiliary/vtk
> ${InsightApplications_BINARY_DIR}/Auxiliary/FltkImageViewer
> ${InsightApplications_BINARY_DIR}/Auxiliary/VtkFltk
> ${RegionGrowingSegmentation_SOURCE_DIR}
> ${RegionGrowingSegmentation_BINARY_DIR}
> )
>
> LINK_DIRECTORIES(
> ${InsightApplications_BINARY_DIR}/Auxiliary/FltkImageViewer
> ${InsightApplications_BINARY_DIR}/Auxiliary/vtkFltk
> )
>
> SET(RegionGrowingSegmentation2D_SRCS
> RegionGrowingSegmentationBase2D.cxx
> RegionGrowingSegmentation2D.cxx
> )
>
> SET(RegionGrowingSegmentation2D_GUI_SRCS
> RegionGrowingSegmentation2DGUI.fl
> )
>
>
> SET(RegionGrowingSegmentation_SRCS
> RegionGrowingSegmentationBase.cxx
> RegionGrowingSegmentation.cxx
> )
>
> SET(RegionGrowingSegmentation_GUI_SRCS
> RegionGrowingSegmentationGUI.fl
> )
>
> ADD_EXECUTABLE(RegionGrowingSegmentation2D ${RegionGrowingSegmentation2D_SRCS})
> ADD_EXECUTABLE(RegionGrowingSegmentation ${RegionGrowingSegmentation_SRCS})
>
>
> LINK_LIBRARIES (
> ITKCommon
> ITKNumerics
> ITKBasicFilters
> ITKIO
> ITKFltkImageViewer
> ITKVtkFltk
> vtkRendering
> vtkGraphics
> vtkHybrid
> vtkImaging
> vtkIO
> vtkFiltering
> vtkCommon
> )
>
> FLTK_WRAP_UI( RegionGrowingSegmentation2D ${RegionGrowingSegmentation2D_GUI_SRCS})
> FLTK_WRAP_UI( RegionGrowingSegmentation ${RegionGrowingSegmentation_GUI_SRCS} )