On 18.01.2011, at 15:55, Ish wrote: >>> On 18.01.2011 09:59, Albrecht Schlosser wrote: >>>> On 18.01.2011 06:15, Ish wrote: >>>>> undefined reference to `Fl::gl_visual(int, int*)' >>>>> >>>>> I believe that error means its implementation is missing. I haven't >>>>> checked the source yet to confirm that. It isn't virtual from what I >>>>> understand in the source code. >>>>> >>>>> using Fltk 1.3 >>>> >>>> Which exakt FLTK version (RC?, svn rev.?), OS, compiler, please? >>> >>> .... and where do you see this ? When building an own application or >>> the FLTK library (which part?). Please supply more context. >>> >>> I looked at the source code, and it seems that this can happen if >>> configure doesn't find OpenGL, or if you missed adding the FLTK >>> GL library (libfltk_gl) to your build. >>> >>> Albrecht >> >> Hey Albrecht, >> Thank you for your response. >> I have the current svn rev, 8289. >> My OS is linux, ubuntu linux. >> I am using gcc 4.34 >> I have installed freeglut. >> How can I confirm that libfltk_gl has been added or not? >> >> I get the error in compiling my application. >> I see the error when I add the line Fl::gl_visual(FL_RGB); in my application >> right before win.show(). > > I also see ligfltk_gl.a (static lib) in my /usr/local/lib directory. > > I ran the fractals demo that is in the fltk test dir. And I recieved a > message Insufficient OpenGL support. Dont know what I am missing.
You probably do not have the OpenGL headers installed. Check the config.log file to see if FLTK found the OpenGL headers. If it did not, install them: # sudo apt-get install libglu1-mesa-dev and call "./configure" again. Does the Fractal demo work now? _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
