Ask Your Question
1

Compile gstreamer on fc26

asked 2017-09-19 02:41:36 -0600

jaittono gravatar image

updated 2017-09-19 03:42:15 -0600

hhlp gravatar image

i'm programming gstreamer on fedora, now fedora version is 26.

on fedora 25, gstreamer version is 1.12.1 and 1.12.2. and no problem.

before several day, i tried version up fedora 25, now fedora26, i compile gstreamer-1.12.3, but get error.

try next, configure option --disable-gl

$ ./autogen.sh prefix=/opt/local --disable-opengl

In file included from ../../gst-libs/gst/gl/gstglapi.h:81: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:15:
../../gst-libs/gst/gl/glprototypes/gstgl_compat.h:57:45: error: unknown type name ‘GLenum’; did you mean ‘enum’?
 typedef void (GSTGLAPI *GST_GL_DEBUG_PROC) (GLenum source,
                                             ^~~~~~
                                             enum
../../gst-libs/gst/gl/glprototypes/gstgl_compat.h:58:45: error: unknown type name ‘GLenum’; did you mean ‘enum’?
                                             GLenum type,
                                             ^~~~~~
                                             enum
../../gst-libs/gst/gl/glprototypes/gstgl_compat.h:59:45: error: unknown type name ‘GLuint’; did you mean ‘GLuint64’?
                                             GLuint id,
                                             ^~~~~~
                                             GLuint64
../../gst-libs/gst/gl/glprototypes/gstgl_compat.h:60:45: error: unknown type name ‘GLenum’; did you mean ‘enum’?
                                             GLenum severity,
                                             ^~~~~~
                                             enum
../../gst-libs/gst/gl/glprototypes/gstgl_compat.h:61:45: error: unknown type name ‘GLsizei’; did you mean ‘GLsizeiptr’?
                                             GLsizei length,
                                             ^~~~~~~
                                             GLsizeiptr
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:15:
../../gst-libs/gst/gl/glprototypes/base.h:52:23: error: unknown type name ‘GLenum’; did you mean ‘enum’?
                      (GLenum target, GLuint texture))
                       ^
../../gst-libs/gst/gl/gstglapi.h:161: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’; did you mean ‘GLuint64’?
                      (GLenum target, GLuint texture))
                                      ^
../../gst-libs/gst/gl/gstglapi.h:161: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’; did you mean ‘enum’?
                      (GLenum sfactor, GLenum dfactor))
                       ^
../../gst-libs/gst/gl/gstglapi.h:161:24: note: in definition of macro ‘GST_GL_EXT_FUNCTION’
   ret (GSTGLAPI *name) args;
                        ^~~~

cannot compile with same error!

this bug is gstreamer or fedora ?

edit retag flag offensive close merge delete

Comments

In unitedrpms you can see the results of gstreamer1 here...

davidva gravatar imagedavidva ( 2017-09-20 00:52:11 -0600 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2017-09-19 03:50:49 -0600

jaittono gravatar image

Resolved !

dnf install mesa*

it's good !!!!

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-09-19 02:41:36 -0600

Seen: 309 times

Last updated: Sep 19 '17