<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<br></div><div>
Peter Maersk-Moller<br></div><div><br></div><div><br></div></div>