Adding Gstreamer support to an android NDK project -


i've installed latest android sdk bundle latest android ndk on windows 7.

i've set environment , able run hellojni example ndk installation package.

but when try add gstreamer support according creating new projects section of gstreamer android tutorial page, error when try build project:

gstreamer      : [compile] => gst-build/gstreamer_android.c gst-build/gstreamer_android.c:1:17: fatal error: jni.h: no such file or directory compilation terminated. e:/gstreamerandroid/sdk/share/gst-android/ndk-build//gstreamer.mk:167: recipe  target `gst-build/gstreamer_android.o' failed make: *** [gst-build/gstreamer_android.o] error 1 

i tried few solutions such setting path variable jni.h in ndk (eg. ndkr8e\platforms\android-14\arch-arm\usr\include) nothing works.

can suggest other solutions?

edit: suggested iljan, downloaded older version of android ndk (r8d), , got project compile. don't understand whether problem side or bug in ndk version. thoughts?

following comment issue, seems adding

... local_ldlibs := -llog  sysroot := /opt/android-ndk-r8e/platforms/android-14/arch-arm/  include $(build_shared_library) ... 

all work fine.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -