> > > > I have a problem where configure doesn't detect OpenGL, and=20 > > consequently HAVE_GL is set to 0. I am using Ubuntu 9.04 and=20 > > I have installed libgl1-mesa-dev, so it should be there.=20 > > Unfortunately I have to use 1.0.11. When I tried with=20 > > 1.1.10rc3 it succeeds to enable OpenGL support when I=20 > > installed libxext-dev. Is there something I can do to make=20 > > fltk 1.0.11 enable OpenGL support automatically? For now I=20 > > modify config.h after it has been created, a not very good=20 > > solution obviously. > > It may be the only solution, however. > Fltk-1.0.11 is *very old* and not likely to be maintained now. > > My best guess is that the configure script is expecting the GL headers > to be in a particular place and that the current "preferred" place for > them is different on ubuntu, so looking at the 1.1.10 configure script > to see if it is looking in more places for the GL headers might show you > how to update your 1.0.11 configure... > I doubt that we will be making any changes to 1.0.11 however. > > Why is it that you "have to use 1.0.11" ?=20 > There are very few things from 1.0.x that will not compile in fltk-1.1.x > using the compatibility stuff, and there are many benefits in the newer > codebase.
We should really try to upgrade to a newer version. A problem is that we've made some local modifications. But that really shouldn't be a big problem, I hope. Anyway, I made a mistake. After I installed libxext-dev it turns out fltk-1.0.11 really does find OpenGL and HAVE_GL is set to 1! Thanks anyway! _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

