[yocto] [meta-raspberrypi3] Failed to build gstreamer1.0-plugins-bad with minimal configuration
Karim ATIKI
karim_atiki at hotmail.com
Tue Nov 1 11:51:02 PDT 2016
Hi Paul,
Thanks for your feedback.
Unfortunately I was suspecting such a problem.
Regarding the config below, is it possible to install the "dispmanx"component to activate EGL ?
What recipe provides dispmanx ?
Karim
________________________________
De : Paul Barker <paul at paulbarker.me.uk>
Envoyé : samedi 29 octobre 2016 23:13
À : Karim ATIKI
Cc : yocto
Objet : Re: [yocto] [meta-raspberrypi3] Failed to build gstreamer1.0-plugins-bad with minimal configuration
On Fri, 28 Oct 2016 05:56:07 +0000
Karim ATIKI <karim_atiki at hotmail.com> wrote:
> Hi Paul,
>
>
> Thanks a lot for your feedback and analysis.
>
> I think it sohuld compile without X11 and Wayland as it's a very
> common configuration
>
> for RaspberryPi being used with Qt5.x applications.
>
>
> Do you think it's bug related to Gstreamer1.0 configuration ?
>
>
>
> Karim
>
The do_configure log for gstreamer1.0-plugins-bad does contain:
configure: WARNING: X or Wayland is required for OpenGL support
configure.ac in gst-plugins-bad-1.8.3 contains:
dnl EGL
if test "x$HAVE_EGL" = "xno"; then
if test "x$HAVE_GL" = "xno"; then
AC_MSG_WARN([Building requires either EGL or GLX for OpenGL support])
fi
else
if test "x$NEED_EGL" != "xno"; then
if test "x$HAVE_WINDOW_WAYLAND" = "xyes" -o "x$HAVE_WINDOW_X11" = "xyes" -o "x$HAVE_WINDOW_DISPMANX" = "xyes"; then
GL_LIBS="$GL_LIBS -lEGL $EGL_LIBS"
GL_CFLAGS="$GL_CFLAGS $EGL_CFLAGS"
USE_EGL=yes
fi
fi
fi
;;
In config.status EGL_LIBS contains "-lbcm_host -lvcos
-lvchiq_arm", however GL_LIBS only contains "-lGLESv2". So I'd say
EGL_LIBS is not being included in to GL_LIBS because
HAVE_WINDOW_WAYLAND, HAVE_WINDOW_X11 and HAVE_WINDOW_DISPMAX are all
false.
GL_LIBS is used in gst-libs/gst/gl/Makefile.am so that's the variable
the libraries should be listed in.
I'd say that's an upstream issue - it really looks like it's demanding
X or Wayland to be enabled for OpenGL to work. I'd suggest raising the
issue upsteream.
Thanks,
Paul Barker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161101/70680d42/attachment.html>
More information about the yocto
mailing list