﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
23133	fltk FTBFS if opengl (mesa) is not available, but wayland, wayland-protocols, libxkbcommon, and pango (with cairo) are	pierre	pierre	"In this case, configure just flags:
{{{
checking for glXGetProcAddressARB in -lGL... no
}}}
and exits successfully. But then compilation fails:
{{{
Compiling Fl_Gl_Device_Plugin.cxx...
Compiling Fl_Gl_Window.cxx...
Compiling freeglut_geometry.cxx...
In file included from Fl_Gl_Window_Driver.H:28,
                 from Fl_Gl_Device_Plugin.cxx:21:
../FL/gl.h:65:14: fatal error: GL/gl.h: No such file or directory
   65 | #    include <GL/gl.h>
      |              ^~~~~~~~~
compilation terminated.
In file included from ../FL/glut.H:43,
                 from freeglut_geometry.cxx:28:
../FL/gl.h:65:14: fatal error: GL/gl.h: No such file or directory
   65 | #    include <GL/gl.h>
      |              ^~~~~~~~~
compilation terminated.
}}}

mesa and glu are only optional dependencies of fltk in the book. It is possible to remove the dependency on mesa by passing `--disable-gl` to '''configure''', but we may not want to do this: the main interest of fltk is its ability to use hardware acceleration through opengl.

It is also possible to pass `--disable-wayland` to fix the issue when mesa is not installed and the other dependencies mentioned in the summary are.

But anyway I think we should promote glu (which requires mesa) to recommended."	enhancement	closed	normal	13.1	BOOK	git	medium	fixed		
