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

Michal Lazo michal.lazo at mdragon.org
Tue Jul 8 08:08:13 PDT 2014


for gst-omx
try this
http://live.mdragon.org/gst-omx.tar.gz
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 <pmaersk at gmail.com>
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
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
Best Regards

Michal Lazo
Senior developer engineer
mdragon.org
Slovakia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140708/bd4fd754/attachment.html>


More information about the gstreamer-devel mailing list