4 Sep 2011 21:24
stupid question about ndk-build
LouisB <louisbhirst <at> gmail.com>
2011-09-04 19:24:24 GMT
2011-09-04 19:24:24 GMT
I was fine with previous versions of the NDK that used "make APP=.." - but no joy with ndk-build. Am I missing somthing? I just downloaded android-ndk-r6b and trying to build a sample app to test my setup - can't find standard includes (see below) Do I need to re-install cygwin? make is ver 3.81, cygwin 1.7.5 bart [~/ndk2/samples/hello-jni] bhirst $ ../../ndk-build Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserver Gdbsetup : libs/armeabi/gdb.setup Compile thumb : hello-jni <= hello-jni.c G:/WorldNoCrypt/GameDEV/Android/android-ndk-r6b/samples/hello-jni/jni/ hello-jni.c:17:20: error: string.h: No such file or directory G:/WorldNoCrypt/GameDEV/Android/android-ndk-r6b/samples/hello-jni/jni/ hello-jni.c:18:17: error: jni.h: No such file or directory G:/WorldNoCrypt/GameDEV/Android/android-ndk-r6b/samples/hello-jni/jni/ hello-jni.c:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Java_com_example_hellojni_HelloJni_stringFromJNI' make: *** [/cygdrive/g/WorldNoCrypt/GameDEV/Android/android-ndk-r6b/ samples/hello-jni/obj/local/armeabi/objs-debug/hello-jni/hello-jni.o] Error 1 bart [~/ndk2/samples/hello-jni] bhirst $ thanks, Bart -- -- You received this message because you are subscribed to the Google Groups "android-ndk" group. To post to this group, send email to android-ndk <at> googlegroups.com. To unsubscribe from this group, send email to android-ndk+unsubscribe <at> googlegroups.com.(Continue reading)
RSS Feed