LouisB | 4 Sep 21:24 2011
Picon

stupid question about ndk-build

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)

LouisB | 4 Sep 21:30 2011
Picon

Re: stupid question about ndk-build

nevermind... of course after posting I figured it out - didn't like
that I was sitting in a symlink off my home dir.  changed directory to
full path and it worked :]

On Sep 4, 3:24 pm, LouisB <louisbhi... <at> gmail.com> wrote:
> 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
(Continue reading)


Gmane