> I create a class Inherit from Fl_Gl_Window in ubuntu. but compile error: incomplete type ‘Fl_X’ used in nested name specifier
You probably need the following #defines before
#include <FL/x.H>
#define FL_LIBRARY
#define FL_INTERNALS
#define USE_X11