<div dir="ltr">for gst-omx<div>try this</div><div><a href="http://live.mdragon.org/gst-omx.tar.gz">http://live.mdragon.org/gst-omx.tar.gz</a><br></div><div>look at rules</div><div><br></div><div>and gst-bad</div><div>support something similar for targeting rpi (EGL, opengl)</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 8, 2014 at 4:50 PM, Peter Maersk-Moller <span dir="ltr"><<a href="mailto:pmaersk@gmail.com" target="_blank">pmaersk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi.<br><br>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:<br>
<br><div style="margin-left:40px">make[3]: Entering directory `/home/pi/GStreamer/gstreamer-1.3.90/gst-plugins-bad/docs/libs'<br>
  DOC   Scanning header files<br>  DOC   Introspecting gobjects<br>In file included from ../../gst-libs/gst/gl/glprototypes/all_functions.h:21:0,<br>                 from ../../gst-libs/gst/gl/gstglapi.h:129,<br>                 from ../../gst-libs/gst/gl/gstgl_fwd.h:26,<br>

                 from ../../gst-libs/gst/gl/gl.h:29,<br>                 from gst-plugins-bad-libs-scan.c:12:<br>../../gst-libs/gst/gl/glprototypes/base.h:51:1: error: unknown type name 'GLenum'<br>../../gst-libs/gst/gl/glprototypes/base.h:51:1: error: unknown type name 'GLuint'<br>

</div><br></div><div>and a lot more error messages. If I instead try to help it using the following commands, I get other error messages:<br><br><div style="margin-left:40px">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<br>

</div><div style="margin-left:40px">make<br></div><br></div><div>Then I get these messages:<br><br><div style="margin-left:40px">make[3]: Entering directory `/home/pi/GStreamer/gstreamer-1.3.90/gst-plugins-bad/docs/libs'<br>

  DOC   Scanning header files<br>  DOC   Introspecting gobjects<br>In file included from ../../gst-libs/gst/gl/gstgl_fwd.h:26:0,<br>                 from ../../gst-libs/gst/gl/gl.h:29,<br>                 from gst-plugins-bad-libs-scan.c:12:<br>

../../gst-libs/gst/gl/gstglapi.h:42:21: fatal error: EGL/egl.h: No such file or directory<br>compilation terminated.<br>Compilation of scanner failed:<br></div><br></div><div>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<br>

<br><div style="margin-left:40px">-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux<br></div><br></div><div>so the line will look like this:<br><br><div style="margin-left:40px">

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<br></div>

</div><div><br></div><div>Then the plugins-bad <u>can be compiled</u> 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.<br>

<br></div><div>It also appear that the gst-omx plugins needs the following settings for compiling:<br><br></div><div>So some changes for autogen.sh seems appropriate here as well.<br><br></div><div>Best regards<span class="HOEnZb"><font color="#888888"><br>
</font></span></div><span class="HOEnZb"><font color="#888888"><div>
Peter Maersk-Moller<br></div><div><br></div><div><br></div></font></span></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Best Regards<br><br>Michal Lazo<br><span style="font-family:arial;font-size:small">Senior developer engineer</span><br><a href="http://mdragon.org" target="_blank">mdragon.org</a><br>
Slovakia<br></div>
</div>