[vtkusers] using vtkflrendeWindowInteractor

Charl P. Botha c.p.botha at ewi.tudelft.nl
Fri Dec 19 09:31:09 EST 2003


Hello Fabio,

Let's keep this on the VTK list.  That way, future searches on the same
topic will turn up something useful.

On Fri, 2003-12-19 at 15:21, Fabio De Pascalis wrote:
> Hi Charl,
> THANKS for your help
> I looked for the other FLTK libs you indicated me: fltk[d]_gl,
> fltk[d]_images and  fltk[d]_forms.
> 
> I found these: fltkgld, fltkimagesd and  fltkformsd
> Are they the same?

Yes, I wasn't sure what their names would be under windows.

> When I included them, the result was:
> 
> fltkgld.lib(Fl_Gl_Window.obj) : error LNK2001: unresolved external symbol
> __imp__glReadBuffer at 4
> fltkgld.lib(Fl_Gl_Window.obj) : error LNK2001: unresolved external symbol
> __imp__glDrawBuffer at 4
> fltkgld.lib(Fl_Gl_Window.obj) : error LNK2001: unresolved external symbol
> __imp__glOrtho at 48
> fltkgld.lib(Fl_Gl_Window.obj) : error LNK2001: unresolved external symbol
> __imp__glViewport at 16
> fltkgld.lib(Fl_Gl_Window.obj) : error LNK2001: unresolved external symbol
> __imp__glLoadIdentity at 0
> fltkgld.lib(Fl_Gl_Window.obj) : error LNK2001: unresolved external symbol
> __imp__glGetIntegerv at 8
> fltkgld.lib(Fl_Gl_Window.obj) : error LNK2001: unresolved external symbol
> __imp__wglSwapLayerBuffers at 8
> fltkgld.lib(Fl_Gl_Window.obj) : error LNK2001: unresolved external symbol
> __imp__glFlush at 0
> fltkgld.lib(Fl_Gl_Window.obj) : error LNK2001: unresolved external symbol
> __imp__glCopyPixels at 20
> fltkgld.lib(Fl_Gl_Window.obj) : error LNK2001: unresolved external symbol
> __imp__glRasterPos2i at 8
> fltkgld.lib(Fl_Gl_Window.obj) : error LNK2001: unresolved external symbol
> __imp__glClear at 4
> fltkgld.lib(Fl_Gl_Window.obj) : error LNK2001: unresolved external symbol
> __imp__glDisable at 4
> fltkgld.lib(Fl_Gl_Window.obj) : error LNK2001: unresolved external symbol
> __imp__wglRealizeLayerPalette at 12
> fltkgld.lib(Fl_Gl_Choice.obj) : error LNK2001: unresolved external symbol
> __imp__wglShareLists at 8
> fltkgld.lib(Fl_Gl_Choice.obj) : error LNK2001: unresolved external symbol
> __imp__wglCreateContext at 4
> fltkgld.lib(Fl_Gl_Choice.obj) : error LNK2001: unresolved external symbol
> __imp__wglCreateLayerContext at 8
> fltkgld.lib(Fl_Gl_Choice.obj) : error LNK2001: unresolved external symbol
> __imp__wglMakeCurrent at 8
> fltkgld.lib(Fl_Gl_Choice.obj) : error LNK2001: unresolved external symbol
> __imp__wglDeleteContext at 4
> ../test/bitmapd.exe : fatal error LNK1120: 18 unresolved externals
> Error executing link.exe.
> 
> What do you think about?

It *looks* like you have to link with your OpenGL libraries as well. 
Please have a look at how the example FLTK applications are built and
linked on windows.

Good luck,
Charl

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/





More information about the vtkusers mailing list