>
> 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*)'
> >>>>>=20
> >>>>> 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.
> >>>>>=20
> >>>>> using Fltk 1.3
> >>>>=20
> >>>> Which exakt FLTK version (RC?, svn rev.?), OS, compiler, please?
> >>>=20
> >>> .... and where do you see this ? When building an own application or
> >>> the FLTK library (which part?). Please supply more context.
> >>>=20
> >>> 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.
> >>>=20
> >>> Albrecht
> >>=20
> >> 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?
> >>=20
> >> 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().
> >=20
> > I also see ligfltk_gl.a (static lib) in my /usr/local/lib directory.
> >=20
> > 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?=
>

I had installed libglu1-mesa before and the config.log indicates the opengl 
headers exist. I ran ./configure again as well, and the problem persisted.
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to