Building gstreamer tutorials: jni.h: no such file or directory
Andoni Morales
ylatuya at gmail.com
Tue Mar 26 02:37:13 PDT 2013
2013/3/25 Germinii Tors <marcus.whiteacker at hotmail.com>:
> Hi,
>
> I downloaded the sdk and tried to build the gstreamer tutorials but the
> compiler does not find "jni.h" in "gstreamer_android.c", although the
> include paths (in exclipse) are correct.
>
> I compiled hello-jni of the NDK successfully and when integrated gstreamer
> (like described in the tutorial) by extending the Android.mk. I also added
> the GSTREAMER_NDK_BUILD_PATH env variable but it does not compile (same
> error).
>
> Where is my mistake? The include paths must be wrong, but even eclipse
> "finds" the correct jni.h...
This is a known issue with the new NDK (r8e), which is fixed now
upstream. Replace the file share/gst-android/ndk-build/gstreamer.mk
with the following one:
http://cgit.freedesktop.org/gstreamer-sdk/cerbero/tree/data/ndk-build/gstreamer.mk
Cheers,
Andoni
>
> Thanks,
>
> Marcus
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
--
Andoni Morales Alastruey
LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
More information about the gstreamer-android
mailing list