Is there a patch or something available to get gtkglext to compile with the nvidia 1.0-6111 headers? I am getting the below error when I try to compile gtkglext 1.0.6. gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkGLExt\" -DGDK_GL_COMPILATION -I.. -DG_DISABLE_CAST_CHECKS -I/usr/X11R6/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -O -march=athlon-mp -mmmx -mfpmath=sse -msse -m3dnow -pipe -O3 -Wall -MT gdkglglext.lo -MD -MP -MF .deps/gdkglglext.Tpo -c gdkglglext.c -fPIC -DPIC -o .libs/gdkglglext.o In file included from gdkglglext.h:53, from gdkglglext.c:26: ../gdk/glext/glext.h:1540:1: warning: "GL_RESTART_SUN" redefined In file included from /usr/X11R6/include/GL/gl.h:73, from gdkglglext.h:33, from gdkglglext.c:26: /usr/X11R6/include/GL/glext.h:2215:1: warning: this is the location of the previous definition In file included from gdkglglext.h:53, from gdkglglext.c:26: ../gdk/glext/glext.h:1541:1: warning: "GL_REPLACE_MIDDLE_SUN" redefined In file included from /usr/X11R6/include/GL/gl.h:73, from gdkglglext.h:33, from gdkglglext.c:26: /usr/X11R6/include/GL/glext.h:2216:1: warning: this is the location of the previous definition In file included from gdkglglext.h:53, from gdkglglext.c:26: ../gdk/glext/glext.h:1542:1: warning: "GL_REPLACE_OLDEST_SUN" redefined In file included from /usr/X11R6/include/GL/gl.h:73, from gdkglglext.h:33, from gdkglglext.c:26: /usr/X11R6/include/GL/glext.h:2217:1: warning: this is the location of the previous definition In file included from gdkglglext.h:53, from gdkglglext.c:26: ../gdk/glext/glext.h:3810: error: redefinition of typedef 'PFNGLCOLORSUBTABLEEXTPROC' /usr/X11R6/include/GL/glext.h:3223: error: previous declaration of 'PFNGLCOLORSUBTABLEEXTPROC' was here make[5]: *** [gdkglglext.lo] Error 1 make[5]: Leaving directory `/usr/src/gtkglext-1.0.6/gdk' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/usr/src/gtkglext-1.0.6/gdk' make[3]: *** [all] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2
Attachment:
signature.asc
Description: This is a digitally signed message part