[Bug 721299] New: Conflict between GL and GLES headers

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 1 03:23:55 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=721299
  GStreamer | gst-plugins-gl | git

           Summary: Conflict between GL and GLES headers
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Mac OS
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: gst-plugins-gl
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: slomo at coaxion.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
                CC: ystreet00 at gmail.com
     GNOME version: ---


When compiling gst-plugins-gl with GL and GLES support, it currently fails like
this on Debian/unstable. It worked not so long ago:

  CC       libgstgl_x11_la-gstglwindow_x11.lo
In file included from /usr/include/GL/gl.h:2085:0,
                 from ../../../../gst-libs/gst/gl/gstglapi.h:44,
                 from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26,
                 from ../../../../gst-libs/gst/gl/gl.h:24,
                 from gstglwindow_x11.h:27,
                 from x11_event_source.h:25,
                 from gstglwindow_x11.c:31:
/usr/include/GL/glext.h:2169:26: error: conflicting types for 'GLDEBUGPROC'
 typedef void (APIENTRY  *GLDEBUGPROC)(GLenum source,GLenum type,GLuint
id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
                          ^
In file included from ../../../../gst-libs/gst/gl/gstglapi.h:31:0,
                 from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26,
                 from ../../../../gst-libs/gst/gl/gl.h:24,
                 from gstglwindow_x11.h:27,
                 from x11_event_source.h:25,
                 from gstglwindow_x11.c:31:
/usr/include/GLES2/gl2ext.h:186:28: note: previous declaration of 'GLDEBUGPROC'
was here
 typedef void (GL_APIENTRYP GLDEBUGPROC)(GLenum source,GLenum type,GLuint
id,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam);
                            ^
In file included from /usr/include/GL/gl.h:2085:0,
                 from ../../../../gst-libs/gst/gl/gstglapi.h:44,
                 from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26,
                 from ../../../../gst-libs/gst/gl/gl.h:24,
                 from gstglwindow_x11.h:27,
                 from x11_event_source.h:25,
                 from gstglwindow_x11.c:31:
/usr/include/GL/glext.h:2463:25: error: conflicting types for
'PFNGLDEBUGMESSAGECALLBACKPROC'
 typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback,
const void *userParam);
                         ^
In file included from ../../../../gst-libs/gst/gl/gstglapi.h:31:0,
                 from ../../../../gst-libs/gst/gl/gstgl_fwd.h:26,
                 from ../../../../gst-libs/gst/gl/gl.h:24,
                 from gstglwindow_x11.h:27,
                 from x11_event_source.h:25,
                 from gstglwindow_x11.c:31:
/usr/include/GLES2/gl2ext.h:1083:28: note: previous declaration of
'PFNGLDEBUGMESSAGECALLBACKPROC' was here
 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC
callback, const void *userParam);
                            ^

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list