Compiling gst-plugins-bad 1.3.90 out of the box for Raspberry Pi fails

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Compiling gst-plugins-bad 1.3.90 out of the box for Raspberry Pi fails

Peter Maersk-Moller-2
Hi.

Thought I'd like to report that compiling gst-plugins-bad 1.3.90 out of the box for Raspberry Pi fails. It fails with the following messages:

make[3]: Entering directory `/home/pi/GStreamer/gstreamer-1.3.90/gst-plugins-bad/docs/libs'
  DOC   Scanning header files
  DOC   Introspecting gobjects
In file included from ../../gst-libs/gst/gl/glprototypes/all_functions.h:21:0,
                 from ../../gst-libs/gst/gl/gstglapi.h:129,
                 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/base.h:51:1: error: unknown type name 'GLenum'
../../gst-libs/gst/gl/glprototypes/base.h:51:1: error: unknown type name 'GLuint'

and a lot more error messages. If I instead try to help it using the following commands, I get other error messages:

LDFLAGS='-L/opt/vc/lib' CPPFLAGS='-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux' ./autogen.sh
make

Then I get these messages:

make[3]: Entering directory `/home/pi/GStreamer/gstreamer-1.3.90/gst-plugins-bad/docs/libs'
  DOC   Scanning header files
  DOC   Introspecting gobjects
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/gstglapi.h:42:21: fatal error: EGL/egl.h: No such file or directory
compilation terminated.
Compilation of scanner failed:

If I in addition to the setting when executing autogen.sh I add the following to the line  defining GTKDOC_CFLAGS in the docs/libs/Makefile

-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux

so the line will look like this:

GTKDOC_CFLAGS = -DGST_USE_UNSTABLE_API $(GST_PLUGINS_BAD_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux

Then the plugins-bad can be compiled and installed. This is of course not the way to do it, but it should provide the information necessary to figure out what changes that are necessary to be able to compile the plugins-bad out of the box for Raspberry Pi.

It also appear that the gst-omx plugins needs the following settings for compiling:

So some changes for autogen.sh seems appropriate here as well.

Best regards
Peter Maersk-Moller



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compiling gst-plugins-bad 1.3.90 out of the box for Raspberry Pi fails

miskol
for gst-omx
try this
look at rules

and gst-bad
support something similar for targeting rpi (EGL, opengl)


On Tue, Jul 8, 2014 at 4:50 PM, Peter Maersk-Moller <[hidden email]> wrote:
Hi.

Thought I'd like to report that compiling gst-plugins-bad 1.3.90 out of the box for Raspberry Pi fails. It fails with the following messages:

make[3]: Entering directory `/home/pi/GStreamer/gstreamer-1.3.90/gst-plugins-bad/docs/libs'
  DOC   Scanning header files
  DOC   Introspecting gobjects
In file included from ../../gst-libs/gst/gl/glprototypes/all_functions.h:21:0,
                 from ../../gst-libs/gst/gl/gstglapi.h:129,
                 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/base.h:51:1: error: unknown type name 'GLenum'
../../gst-libs/gst/gl/glprototypes/base.h:51:1: error: unknown type name 'GLuint'

and a lot more error messages. If I instead try to help it using the following commands, I get other error messages:

LDFLAGS='-L/opt/vc/lib' CPPFLAGS='-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux' ./autogen.sh
make

Then I get these messages:

make[3]: Entering directory `/home/pi/GStreamer/gstreamer-1.3.90/gst-plugins-bad/docs/libs'
  DOC   Scanning header files
  DOC   Introspecting gobjects
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/gstglapi.h:42:21: fatal error: EGL/egl.h: No such file or directory
compilation terminated.
Compilation of scanner failed:

If I in addition to the setting when executing autogen.sh I add the following to the line  defining GTKDOC_CFLAGS in the docs/libs/Makefile

-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux

so the line will look like this:

GTKDOC_CFLAGS = -DGST_USE_UNSTABLE_API $(GST_PLUGINS_BAD_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux

Then the plugins-bad can be compiled and installed. This is of course not the way to do it, but it should provide the information necessary to figure out what changes that are necessary to be able to compile the plugins-bad out of the box for Raspberry Pi.

It also appear that the gst-omx plugins needs the following settings for compiling:

So some changes for autogen.sh seems appropriate here as well.

Best regards
Peter Maersk-Moller



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Best Regards

Michal Lazo
Senior developer engineer
mdragon.org
Slovakia

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel