> I'm trying to compile a recent svn version of fltk2 and get the
> following error. What is the reason?
> [...]
> Linking glpuzzle...
> glpuzzle.o: In function `Reshape(int, int)':
> glpuzzle.cxx:(.text+0xa51): undefined reference to `glViewport'
> [...]

The reason is that your program uses OpenGL routines, but you have not
included the OpenGL library [in the right place] when you try to link
your application, so the linker can't match calls to OpenGL routines
with the actual implementation of those OpenGL routines.

D.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to