Hi James, This problem is not directly related to Solaris or GtkGLExt. The types ending with ARB were introduced with OpenGL extension GL_ARB_vertex_buffer_object. Vertex-buffer objects were promoted to the core interface with OpenGL 1.5, and the ARB ending got removed. IOW your system either has OpenGL < 1.5 with GL_ARB_vertex_buffer_object extension... or the header file is broken. Best regards Thomas Am Donnerstag, den 07.06.2012, 14:22 -0400 schrieb James Overly: > Hi It looks like the issue is I needed (on Solaris) > the following defines (after the #include <GL/gl.h> > > typedef GLintptrARB GLintptr; > typedef GLsizeiptrARB GLsizeiptr; > > Apparently the GL in OpenWin only defines GLintptrARB > and GLsizeiptrARB and not GLintptr and GLsizeiptr > > Make that change allow me to compile, I am now getting > an error that is indicating I am not getting some symbols > defined that look like they are from XRender. This may be > an issue with my gtk build. > > Jim > > On Thu, 2012-06-07 at 13:28 -0400, James Overly wrote: > > Hi - > > > > I'm having an issue building on Solaris (we are working on > > phasing out Solaris but we still have this dependency). > > > > The error is in building gdkglglext.c (generated file) > > I am using Workshop 12. The errors are: > > > > "../gdk/glext/glext.h", line 5103: syntax error before or at: GLintptr > > "../gdk/glext/glext.h", line 5868: syntax error before or at: GLintptr > > (More similar errors from ../gdk/glext/glext.h) > > "gdkglglext.h", line 1124: syntax error before or at: GLsizeiptr > > "gdkglglext.h", line 1130: syntax error before or at: GLsizeiptr > > (More similar errors from gdkglglext.h) > > > > In building GTK +-2.24.10 (and it's components) I have run into similar > > errors that indicate that the fix might be as simple as adding > > in a #include into the code as it seems WS12 is might have stricter > > rules about including files then gcc. > > > > If someone could point me to what header file I need to include > > I would be more then willing to try it out. > > > > I have verified that the generated files gdkglglext.h and gdkglglext.c > > are exactly the same as generated for Linux and Mac OSX. I don't know > > if this is correct, but this is what I am seeing. > > > > I am building with a version I downloaded by git about a month ago. > > > > Thanks in advance. > > > > Jim Overly > > > > _______________________________________________ > > gtkglext-list mailing list > > gtkglext-list gnome org > > https://mail.gnome.org/mailman/listinfo/gtkglext-list > > _______________________________________________ > gtkglext-list mailing list > gtkglext-list gnome org > https://mail.gnome.org/mailman/listinfo/gtkglext-list -- GnuPG: http://tdz.users.sourceforge.net/tdz.asc Fingerprint: 16FF F599 82F8 E5AA 18C6 5220 D9DA D7D4 4EF1 DF08 jsapigen - A free glue-code generator for Mozilla SpiderMonkey. See http://jsapigen.sourceforge.net for more information.
Attachment:
signature.asc
Description: This is a digitally signed message part