Freescale / gstreamer-imx

GStreamer 1.0 plugins for i.MX platforms
Other
184 stars 127 forks source link

Fatal error: android/native_window.h #217

Closed RootSoft closed 3 years ago

RootSoft commented 6 years ago

Ubuntu 18.04 LTS GStreamer v1.14.1

When I try to build and install gstreamer-imx for Android on the latest step ./waf, I receive the following error:

../src/eglvivsink/egl_platform_android.c:27:10: fatal error: android/native_window.h: No such file or directory
 #include <android/native_window.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Waf: Leaving directory `/home/user/gstreamer-imx/build'
Build failed
 -> task in 'gstimxeglvivsink' failed (exit status 1): 
    {task 140139063054816: c egl_platform_android.c -> egl_platform_android.c.1.o}
['/usr/bin/gcc', '-Wextra', '-Wall', '-std=gnu99', '-fPIC', '-DPIC', '-O2', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-I.', '-I..', '-I/usr/include/gstreamer-1.0', '-I/usr/include/orc-0.4', '-I/usr/include/glib-2.0', '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-DLINUX', '../src/eglvivsink/egl_platform_android.c', '-c', '-o/home/user/gstreamer-imx/build/src/eglvivsink/egl_platform_android.c.1.o']
angolini commented 3 years ago

Android is currently a TODO item for this project.