I compile gst-plugins-bad-1.6.2 version,but returning error "unknown type name 'GLenum'" and so on.why?

Matthew Waters ystreet00 at gmail.com
Fri Jan 8 05:13:45 PST 2016


There's currently no easy way to selectively build the program that
introspects the objects in a library.  As a result, in order to build,
you need to either build gst-plugins-bad without documentation support
with the --disable-gtk-doc flag to ./configure or figure out and fix why
GL is not being found on your system.

gst-plugins-gl was merged into gst-plugins-bad in 1.4 and all references
to it are most likely entirely outdated.

Cheers
-Matt

On 08/01/16 20:33, zhang007z wrote:
> I compile gst-plugins-bad-1.6.2 version,but returning error "unknown type
> name 'GLenum'" and so on.why? 
> error retrun as below:
> In file included from ../../gst-libs/gst/gl/gstglapi.h:65:0,
>                  from ../../gst-libs/gst/gl/gstgl_fwd.h:26,
>                  from ../../gst-libs/gst/gl/gl.h:29,
>                  from gst-plugins-bad-libs-scan.c:12:
> ../../gst-libs/gst/gl/glprototypes/gstgl_compat.h:54:45: error: unknown type
> name 'GLenum'
>  typedef void (GSTGLAPI *GST_GL_DEBUG_PROC) (GLenum source,
>                                              ^
> ../../gst-libs/gst/gl/glprototypes/gstgl_compat.h:55:45: error: unknown type
> name 'GLenum'
>                                              GLenum type,
>                                              ^
> ../../gst-libs/gst/gl/glprototypes/gstgl_compat.h:56:45: error: unknown type
> name 'GLuint'
>                                              GLuint id,
>                                              ^
> ../../gst-libs/gst/gl/glprototypes/gstgl_compat.h:57:45: error: unknown type
> name 'GLenum'
>                                              GLenum severity,
>                                              ^
> ../../gst-libs/gst/gl/glprototypes/gstgl_compat.h:58:45: error: unknown type
> name 'GLsizei'
>                                              GLsizei length,
>                                              ^
> In file included from ../../gst-libs/gst/gl/gstgl_fwd.h:26:0,
>                  from ../../gst-libs/gst/gl/gl.h:29,
>                  from gst-plugins-bad-libs-scan.c:12:
> ../../gst-libs/gst/gl/glprototypes/base.h:52:23: error: unknown type name
> 'GLenum'
>                       (GLenum target, GLuint texture))
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:52:38: error: unknown type name
> 'GLuint'
>                       (GLenum target, GLuint texture))
>                                       ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:54:23: error: unknown type name
> 'GLenum'
>                       (GLenum sfactor, GLenum dfactor))
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:54:39: error: unknown type name
> 'GLenum'
>                       (GLenum sfactor, GLenum dfactor))
>                                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:56:23: error: unknown type name
> 'GLbitfield'
>                       (GLbitfield mask))
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:58:23: error: unknown type name
> 'GLclampf'
>                       (GLclampf red,
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:59:23: error: unknown type name
> 'GLclampf'
>                        GLclampf green,
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:60:23: error: unknown type name
> 'GLclampf'
>                        GLclampf blue,
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:61:23: error: unknown type name
> 'GLclampf'
>                        GLclampf alpha))
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:63:23: error: unknown type name
> 'GLint'
>                       (GLint s))
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:65:23: error: unknown type name
> 'GLboolean'
>                       (GLboolean red,
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:66:23: error: unknown type name
> 'GLboolean'
>                        GLboolean green,
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:67:23: error: unknown type name
> 'GLboolean'
>                        GLboolean blue,
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:68:23: error: unknown type name
> 'GLboolean'
>                        GLboolean alpha))
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:70:23: error: unknown type name
> 'GLenum'
>                       (GLenum target,
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:71:23: error: unknown type name
> 'GLint'
>                        GLint level,
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:72:23: error: unknown type name
> 'GLint'
>                        GLint xoffset,
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:73:23: error: unknown type name
> 'GLint'
>                        GLint yoffset,
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:74:23: error: unknown type name
> 'GLint'
>                        GLint x,
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:75:23: error: unknown type name
> 'GLint'
>                        GLint y,
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:76:23: error: unknown type name
> 'GLsizei'
>                        GLsizei width,
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:77:23: error: unknown type name
> 'GLsizei'
>                        GLsizei height))
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:79:23: error: unknown type name
> 'GLsizei'
>                       (GLsizei n, const GLuint* textures))
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:79:23: error: unknown type name
> 'GLuint'
>                       (GLsizei n, const GLuint* textures))
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:81:23: error: unknown type name
> 'GLenum'
>                       (GLenum func))
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:83:23: error: unknown type name
> 'GLboolean'
>                       (GLboolean flag))
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:85:23: error: unknown type name
> 'GLenum'
>                       (GLenum cap))
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:87:23: error: unknown type name
> 'GLenum'
>                       (GLenum mode, GLint first, GLsizei count))
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:87:36: error: unknown type name
> 'GLint'
>                       (GLenum mode, GLint first, GLsizei count))
>                                     ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:87:49: error: unknown type name
> 'GLsizei'
>                       (GLenum mode, GLint first, GLsizei count))
>                                                  ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:89:23: error: unknown type name
> 'GLenum'
>                       (GLenum mode,
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:90:23: error: unknown type name
> 'GLsizei'
>                        GLsizei count,
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:91:23: error: unknown type name
> 'GLenum'
>                        GLenum type,
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:91:23: error: unknown type name
> 'GLvoid'
>                        GLenum type,
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:94:23: error: unknown type name
> 'GLenum'
>                       (GLenum cap))
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:100:23: error: unknown type name
> 'GLenum'
>                       (GLenum mode))
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:102:23: error: unknown type name
> 'GLenum'
>                       (GLenum mode))
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:104:23: error: unknown type name
> 'GLsizei'
>                       (GLsizei n, GLuint* textures))
>                        ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:104:34: error: unknown type name
> 'GLuint'
>                       (GLsizei n, GLuint* textures))
>                                   ^
> ../../gst-libs/gst/gl/gstglapi.h:101:24: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>                         ^
> ../../gst-libs/gst/gl/glprototypes/base.h:105:22: error: expected ';' before
> 'GLenum'
>  GST_GL_EXT_FUNCTION (GLenum, GetError,
>                       ^
> ../../gst-libs/gst/gl/gstglapi.h:101:3: note: in definition of macro
> 'GST_GL_EXT_FUNCTION'
>    ret (GSTGLAPI *name) args;
>    ^
> In file included from ../../gst-libs/gst/gl/gl.h:35:0,
>                  from gst-plugins-bad-libs-scan.c:12:
> ../../gst-libs/gst/gl/gstglutils.h:51:27: error: unknown type name 'GLuint'
>  typedef gboolean (*CDCB) (GLuint texture, GLuint width, GLuint height,
> gpointer data);
>                            ^
> ../../gst-libs/gst/gl/gstglutils.h:51:43: error: unknown type name 'GLuint'
>  typedef gboolean (*CDCB) (GLuint texture, GLuint width, GLuint height,
> gpointer data);
>                                            ^
> ../../gst-libs/gst/gl/gstglutils.h:51:57: error: unknown type name 'GLuint'
>  typedef gboolean (*CDCB) (GLuint texture, GLuint width, GLuint height,
> gpointer data);
>                                                          ^
> ../../gst-libs/gst/gl/gstglutils.h:71:58: error: unknown type name 'GLuint'
>  void gst_gl_context_gen_texture (GstGLContext * context, GLuint * pTexture,
>                                                           ^
> ../../gst-libs/gst/gl/gstglutils.h:72:30: error: unknown type name 'GLint'
>      GstVideoFormat v_format, GLint width, GLint height);
>                               ^
> ../../gst-libs/gst/gl/gstglutils.h:72:43: error: unknown type name 'GLint'
>      GstVideoFormat v_format, GLint width, GLint height);
>                                            ^
> ../../gst-libs/gst/gl/gstglutils.h:74:58: error: unknown type name 'GLuint'
>  void gst_gl_context_del_texture (GstGLContext * context, GLuint *
> pTexture);
>                                                           ^
> ../../gst-libs/gst/gl/gstglutils.h:78:68: error: unknown type name 'GLuint'
>      const guint comp, gint stride[], gsize offset[], gsize size[], GLuint *
> pTexture);
>                                                                     ^
> ../../gst-libs/gst/gl/gstglutils.h:81:5: error: unknown type name 'GLuint'
>      GLuint * fbo, GLuint * depthbuffer);
>      ^
> ../../gst-libs/gst/gl/gstglutils.h:81:19: error: unknown type name 'GLuint'
>      GLuint * fbo, GLuint * depthbuffer);
>                    ^
> ../../gst-libs/gst/gl/gstglutils.h:83:30: error: unknown type name 'GLuint'
>      gint texture_fbo_height, GLuint fbo, GLuint depth_buffer,
>                               ^
> ../../gst-libs/gst/gl/gstglutils.h:83:42: error: unknown type name 'GLuint'
>      gint texture_fbo_height, GLuint fbo, GLuint depth_buffer,
>                                           ^
> ../../gst-libs/gst/gl/gstglutils.h:84:5: error: unknown type name 'GLuint'
>      GLuint texture_fbo, GLCB_V2 cb, gpointer stuff);
>      ^
> ../../gst-libs/gst/gl/gstglutils.h:85:54: error: unknown type name 'GLuint'
>  void gst_gl_context_del_fbo (GstGLContext * context, GLuint fbo,
>                                                       ^
> ../../gst-libs/gst/gl/gstglutils.h:86:5: error: unknown type name 'GLuint'
>      GLuint depth_buffer);
>      ^
> In file included from ../../gst-libs/gst/gl/gl.h:37:0,
>                  from gst-plugins-bad-libs-scan.c:12:
> ../../gst-libs/gst/gl/gstglshader.h:81:172: error: unknown type name 'GLint'
>  gboolean gst_gl_shader_compile_all_with_attribs_and_check (GstGLShader
> *shader, const gchar *v_src, const gchar *f_src, const gint n_attribs, const
> gchar *attrib_names[], GLint attrib_locs[]);
>                                                                                                                                                                            
> ^
> ../../gst-libs/gst/gl/gstglshader.h:83:152: error: unknown type name 'GLint'
>  gboolean gst_gl_shader_compile_with_default_f_and_check   (GstGLShader
> *shader, const gchar *v_src, const gint n_attribs, const gchar
> *attrib_names[], GLint attrib_locs[]);
>                                                                                                                                                        
> ^
> ../../gst-libs/gst/gl/gstglshader.h:84:101: error: unknown type name 'GLint'
>  gboolean gst_gl_shader_compile_with_default_v_and_check   (GstGLShader
> *shader, const gchar *f_src, GLint *pos_loc, GLint *tex_loc);
>                                                                                                     
> ^
> ../../gst-libs/gst/gl/gstglshader.h:84:117: error: unknown type name 'GLint'
>  gboolean gst_gl_shader_compile_with_default_v_and_check   (GstGLShader
> *shader, const gchar *f_src, GLint *pos_loc, GLint *tex_loc);
>                                                                                                                     
> ^
> ../../gst-libs/gst/gl/gstglshader.h:85:81: error: unknown type name 'GLint'
>  gboolean gst_gl_shader_compile_with_default_vf_and_check  (GstGLShader
> *shader, GLint *pos_loc, GLint *tex_loc);
>                                                                                 
> ^
> ../../gst-libs/gst/gl/gstglshader.h:85:97: error: unknown type name 'GLint'
>  gboolean gst_gl_shader_compile_with_default_vf_and_check  (GstGLShader
> *shader, GLint *pos_loc, GLint *tex_loc);
>                                                                                                 
> ^
> In file included from ../../gst-libs/gst/gl/gl.h:38:0,
>                  from gst-plugins-bad-libs-scan.c:12:
> ../../gst-libs/gst/gl/gstglcolorconvert.h:62:3: error: unknown type name
> 'GLuint'
>    GLuint           fbo;
>    ^
> ../../gst-libs/gst/gl/gstglcolorconvert.h:63:3: error: unknown type name
> 'GLuint'
>    GLuint           depth_buffer;
>    ^
> In file included from ../../gst-libs/gst/gl/gl.h:41:0,
>                  from gst-plugins-bad-libs-scan.c:12:
> ../../gst-libs/gst/gl/gstgldownload.h:82:54: error: unknown type name
> 'GLuint'
>                                                       GLuint texture_id,
> GLuint texture_target,
>                                                       ^
> ../../gst-libs/gst/gl/gstgldownload.h:82:73: error: unknown type name
> 'GLuint'
>                                                       GLuint texture_id,
> GLuint texture_target,
>                                                                          ^
> In file included from ../../gst-libs/gst/gl/gl.h:45:0,
>                  from gst-plugins-bad-libs-scan.c:12:
> ../../gst-libs/gst/gl/gstglframebuffer.h:62:30: error: unknown type name
> 'GLuint'
>      gint texture_fbo_height, GLuint fbo, GLuint depth_buffer,
>                               ^
> ../../gst-libs/gst/gl/gstglframebuffer.h:62:42: error: unknown type name
> 'GLuint'
>      gint texture_fbo_height, GLuint fbo, GLuint depth_buffer,
>                                           ^
> ../../gst-libs/gst/gl/gstglframebuffer.h:63:5: error: unknown type name
> 'GLuint'
>      GLuint texture_fbo, GLCB_V2 cb, gpointer stuff);
>      ^
> In file included from ../../gst-libs/gst/gl/gl.h:47:0,
>                  from gst-plugins-bad-libs-scan.c:12:
> ../../gst-libs/gst/gl/gstglviewconvert.h:67:3: error: unknown type name
> 'GLuint'
>    GLuint fbo;
>    ^
> ../../gst-libs/gst/gl/gstglviewconvert.h:68:3: error: unknown type name
> 'GLuint'
>    GLuint depth_buffer;
>    ^
> In file included from ../../gst-libs/gst/gl/gl.h:48:0,
>                  from gst-plugins-bad-libs-scan.c:12:
> ../../gst-libs/gst/gl/gstglfilter.h:67:3: error: unknown type name 'GLuint'
>    GLuint             fbo;
>    ^
> ../../gst-libs/gst/gl/gstglfilter.h:68:3: error: unknown type name 'GLuint'
>    GLuint             depthbuffer;
>    ^
> ../../gst-libs/gst/gl/gstglfilter.h:70:3: error: unknown type name 'GLuint'
>    GLuint             in_tex_id;
>    ^
> ../../gst-libs/gst/gl/gstglfilter.h:71:3: error: unknown type name 'GLuint'
>    GLuint             out_tex_id;
>    ^
> ../../gst-libs/gst/gl/gstglfilter.h:75:3: error: unknown type name 'GLuint'
>    GLuint             vao;
>    ^
> ../../gst-libs/gst/gl/gstglfilter.h:76:3: error: unknown type name 'GLuint'
>    GLuint             vbo_indices;
>    ^
> ../../gst-libs/gst/gl/gstglfilter.h:77:3: error: unknown type name 'GLuint'
>    GLuint             vertex_buffer;
>    ^
> ../../gst-libs/gst/gl/gstglfilter.h:78:3: error: unknown type name 'GLint'
>    GLint              draw_attr_position_loc;
>    ^
> ../../gst-libs/gst/gl/gstglfilter.h:79:3: error: unknown type name 'GLint'
>    GLint              draw_attr_texture_loc;
>    ^
> ../../gst-libs/gst/gl/gstglfilter.h:118:76: error: unknown type name
> 'GLuint'
>  void gst_gl_filter_render_to_target (GstGLFilter *filter, gboolean resize,
> GLuint input,
>                                                                            
> ^
> ../../gst-libs/gst/gl/gstglfilter.h:119:38: error: unknown type name
> 'GLuint'
>                                       GLuint target, GLCB func, gpointer
> data);
>                                       ^
> ../../gst-libs/gst/gl/gstglfilter.h:122:50: error: unknown type name
> 'GLuint'
>                                                   GLuint input, GLuint
> target, GstGLShader *shader);
>                                                   ^
> ../../gst-libs/gst/gl/gstglfilter.h:122:64: error: unknown type name
> 'GLuint'
>                                                   GLuint input, GLuint
> target, GstGLShader *shader);
>                                                                 ^
> ../../gst-libs/gst/gl/gstglfilter.h:124:55: error: unknown type name
> 'GLuint'
>  void gst_gl_filter_draw_texture (GstGLFilter *filter, GLuint texture, guint
> width, guint height);
>                                                        ^
> In file included from ../../gst-libs/gst/gl/gl.h:51:0,
>                  from gst-plugins-bad-libs-scan.c:12:
> ../../gst-libs/gst/gl/gstgloverlaycompositor.h:53:3: error: unknown type
> name 'GLint'
>    GLint  position_attrib;
>    ^
> ../../gst-libs/gst/gl/gstgloverlaycompositor.h:54:3: error: unknown type
> name 'GLint'
>    GLint  texcoord_attrib;
>    ^
> Compilation of scanner failed: 
> make[3]: *** [scan-build.stamp] Error 1
> make[3]: Leaving directory
> `/root/gstreamer_1.6.2/gst-plugins-bad-1.6.2/docs/libs'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/root/gstreamer_1.6.2/gst-plugins-bad-1.6.2/docs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/gstreamer_1.6.2/gst-plugins-bad-1.6.2'
> make: *** [all] Error 2
> //-----------------------------------------------------------------------------------//
> I don't understand what cause this error.I search this problem at this web,
> webpage:http://gstreamer-devel.966125.n4.nabble.com/Gst-plugins-bad-1-3-1-fails-to-compile-td4666941.html#a4667055 
> this post said that it need to install gst-plugins-gl,but this plugin
> already merge into gst-plugins-bad plugin.
> I don't understand how to solve this compiling of problem.
> if anybody have any idea for me.thank you in advance.
>
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/I-compile-gst-plugins-bad-1-6-2-version-but-returning-error-unknown-type-name-GLenum-and-so-on-why-tp4675159.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160109/7b6cc87a/attachment-0001.sig>


More information about the gstreamer-devel mailing list