[vtkusers] how to use vtkFlRenderWindowInteractor

Charl P. Botha cpbotha at cpbotha.net
Fri Mar 30 10:03:59 EDT 2007


On 3/29/07, Syn3DDM <haythem.jaidi at hotmail.com> wrote:
> I am using vtk5.0 and fltk-1.1.7 , and I am trying to combine vtk and fltk.
> I want to know how to use vtkFlRenderWindowInteractor? I have tried to run
> the exemple found here :
> http://cpbotha.net/files/vtkFlRenderWindowInteractor/vtkFlRenderWindowInteractor-1.02.tar.gz

It seems you are not correctly linking to FLTK.  Please use the
included cmake-based example, that should take care of all these
issues.

>
> but it  didn't work and i get errors in the stade of linking :
>
> vtkFlRenderWindowInteractor.obj : error LNK2019: unresolved external symbol
> "public: virtual __thiscall Fl_Gl_Window::~Fl_Gl_Window(void)"
> (??1Fl_Gl_Window@@UAE at XZ) referenced in function
> __unwindfunclet$??0vtkFlRenderWindowInteractor@@QAE at XZ$0
> 1>vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external
> symbol "public: virtual void __thiscall Fl_Gl_Window::show(void)"
> (?show at Fl_Gl_Window@@UAEXXZ)
> 1>vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external
> symbol "public: virtual void __thiscall Fl_Gl_Window::hide(void)"
> (?hide at Fl_Gl_Window@@UAEXXZ)
> 1>vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external
> symbol "private: virtual void __thiscall Fl_Gl_Window::draw_overlay(void)"
> (?draw_overlay at Fl_Gl_Window@@EAEXXZ)
> 1>vtkFlRenderWindowInteractor.obj : error LNK2019: unresolved external
> symbol "private: void __thiscall Fl_Gl_Window::init(void)"
> (?init at Fl_Gl_Window@@AAEXXZ) referenced in function "public: __thiscall
> Fl_Gl_Window::Fl_Gl_Window(int,int,int,int,char const *)"
> (??0Fl_Gl_Window@@QAE at HHHHPBD@Z)
> 1>vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external
> symbol "public: virtual void __thiscall
> Fl_Gl_Window::resize(int,int,int,int)" (?resize at Fl_Gl_Window@@UAEXHHHH at Z)
> 1>vtkFlRenderWindowInteractor.obj : error LNK2001: unresolved external
> symbol "public: virtual void __thiscall Fl_Gl_Window::flush(void)"
> (?flush at Fl_Gl_Window@@UAEXXZ)
> 1>vtkFlRenderWindowInteractor.obj : error LNK2019: unresolved external
> symbol "public: void __thiscall Fl_Gl_Window::make_current(void)"
> (?make_current at Fl_Gl_Window@@QAEXXZ) referenced in function "protected:
> virtual void __thiscall vtkFlRenderWindowInteractor::draw(void)"
> (?draw at vtkFlRenderWindowInteractor@@MAEXXZ)
> 1>C:\Documents and Settings\Administrateur\Mes documents\Visual Studio
> 2005\Projects\TestvtkFLWinInteractor\Debug\TestvtkFLWinInteractor.exe :
> fatal error LNK1120: 8 unresolved externals
>
> Please coud someone help me ?
>
> --
> View this message in context: http://www.nabble.com/how-to-use-vtkFlRenderWindowInteractor-tf3487848.html#a9738876
> Sent from the VTK - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>


-- 
dr. charl p. botha - http://visualisation.tudelft.nl/
work: c.p.botha%tudelft.nl other: cpbotha%cpbotha.net



More information about the vtkusers mailing list