[yocto] [meta-raspberrypi3] Failed to build gstreamer1.0-plugins-bad with minimal configuration

Paul Barker paul at paulbarker.me.uk
Sat Oct 29 14:13:06 PDT 2016


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



More information about the yocto mailing list