Closed matthiasbock closed 11 years ago
worked around the problem by editing gst-omx/omx/Makefile before doing make, changing
ERROR_CFLAGS = -Werror
to
ERROR_CFLAGS = -w
Hi, the proposed fix fixes only a part of problem, the part with unused variables. The "has no member" errors still remain.
1) Install package libraspberrypi-dev 2) Call autogen.sh like this: LDFLAGS='-L/opt/vc/lib' CPPFLAGS='-I/opt/vc/include -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux' ./autogen.sh ---with-omx-target=rpi
This is triggered by an #IFDEF USE_EGL_RPI line, effectively commenting out the out_port_pool variable in the _GstOMXVideoDec struct in gstomxvideodec.h which it seems to assume exists in the rest of the code. I believe this a Raspberry Pi problem and should probably be activated as part of the --with-omx-target=rpi switch.
However, simply adding --with-egl-window-system=rpi did not solve this for me. Looking at configure suggested that the only time it echoed USE_EGL_RPI to confdefs.h was when it could find the EGL libraries. So I apt-get installed libraspberrypi-dev and ran ./configure again. This did not work either. :-(
Eventually I worked out that configure was being setup incorrectly by not specifying the library locations to autogen.sh
Trying to compile gst-omx from freedesktop.org, branch 0.10: