DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2429
Version: 1.3-current


just tried to compile. With no changes both fltk-1.3.x-r7709 and
fltk-1.3.x-r7710 build.

However with the change (commented out the two instances of #include
<config.h> in the files in the FL directory then both build fail, as
follows

$ ./configure
$ make
...

Compiling Fl_Gl_Choice.cxx...
Compiling Fl_Gl_Overlay.cxx...
Compiling Fl_Gl_Device_Plugin.cxx...
In file included from Fl_Gl_Device_Plugin.cxx:30:
Fl_Gl_Choice.H:68:22: error: GL/glx.h: No such file or directory
In file included from Fl_Gl_Device_Plugin.cxx:30:
Fl_Gl_Choice.H:85: error: ISO C++ forbids declaration of ‘XVisualInfo’
with no type
Fl_Gl_Choice.H:85: error: expected ‘;’ before ‘*’ token
Fl_Gl_Choice.H:86: error: ‘Colormap’ does not name a type
Fl_Gl_Choice.H:107: error: ‘GLXContext’ does not name a type
Fl_Gl_Choice.H:110: error: ‘GLXContext’ does not name a type
Fl_Gl_Choice.H:116: error: ‘GLXContext’ has not been declared
Fl_Gl_Choice.H:118: error: variable or field ‘fl_delete_gl_context’
declared void
Fl_Gl_Choice.H:118: error: ‘GLXContext’ was not declared in this scope
Fl_Gl_Device_Plugin.cxx: In function ‘void
print_gl_window(Fl_Gl_Window*, int, int, int)’:
Fl_Gl_Device_Plugin.cxx:66: error: ‘glFlush’ was not declared in this
scope
Fl_Gl_Device_Plugin.cxx:68: error: ‘glFinish’ was not declared in this
scope
Fl_Gl_Device_Plugin.cxx:72: error: ‘GL_CLIENT_PIXEL_STORE_BIT’ was not
declared in this scope
Fl_Gl_Device_Plugin.cxx:72: error: ‘glPushClientAttrib’ was not
declared in this scope
Fl_Gl_Device_Plugin.cxx:73: error: ‘GL_PACK_ALIGNMENT’ was not
declared in this scope
Fl_Gl_Device_Plugin.cxx:73: error: ‘glPixelStorei’ was not declared in
this scope
Fl_Gl_Device_Plugin.cxx:74: error: ‘GL_PACK_ROW_LENGTH’ was not
declared in this scope
Fl_Gl_Device_Plugin.cxx:75: error: ‘GL_PACK_SKIP_ROWS’ was not
declared in this scope
Fl_Gl_Device_Plugin.cxx:76: error: ‘GL_PACK_SKIP_PIXELS’ was not
declared in this scope
Fl_Gl_Device_Plugin.cxx:85: error: ‘GL_BGRA’ was not declared in this
scope
Fl_Gl_Device_Plugin.cxx:85: error: ‘GL_UNSIGNED_INT_8_8_8_8_REV’ was
not declared in this scope
Fl_Gl_Device_Plugin.cxx:89: error: ‘glReadPixels’ was not declared in
this scope
Fl_Gl_Device_Plugin.cxx:90: error: ‘glPopClientAttrib’ was not
declared in this scope
make[1]: *** [Fl_Gl_Device_Plugin.o] Error 1
make: *** [all] Error 1

Note this is with a freshly extracted source from a snapshot tar.gz file
rather then rebuilding what had already build before.

If you have ideas of the cause of this failure I'm happy to try again with
modified code.


Link: http://www.fltk.org/str.php?L2429
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to