By alinaqi306
on Sun, 07/01/2012 - 07:11
I am starting to work on android ndk but I am unable to build the sample apps provided with
android-ndk-r8. I followed the steps mentioned on https://ar.qualcomm.at/qdevnet/sdk/android.
When I gine the ndk-build command it always gives me this error messag "-bash: ndk-build: command not found"
I am using windows 7 64bit. Can anybody help me to solve this problem
Running android-ndk-r8 on windows 7 using Cygwin
Hi,
I've experienced a similar issue. The problem was, that I run the ndk-build command in windows command line instead of the cygwin command line tool.
Running android-ndk-r8 on windows 7 using Cygwin
Thanks for reply,
But I am running the ndk-build command in cygwin terminal.
Can you please mention that what environment variables you have set
and other configuraations you have done. I am not able to find where i went
wrong
Running android-ndk-r8 on windows 7 using Cygwin
Have you added the NDK to your Windows PATH?
Running android-ndk-r8 on windows 7 using Cygwin
Comments removed by admin
Running android-ndk-r8 on windows 7 using Cygwin
Yes I have added it to windows path.
Is there some file named ndk-build.exe that comes with android-ndk .zip package?
I dont have any file named ndk-build.exe in my copy of android-ndk
Running android-ndk-r8 on windows 7 using Cygwin
You should have a ndk-build.cmd and another ndk-build file with no extension in the android-ndk-r8 directory.
Running android-ndk-r8 on windows 7 using Cygwin
Thanks David for your help
Problem is solved know. I dont know that why ndk-build was missing
from the android-ndk.zip which I downloaded. I downloaded it again
and know its working.
Running android-ndk-r8 on windows 7 using Cygwin
Hi,
I am using windows 7 64-bit machine to compile of the example from the latest vuforia sdk.
I get the following error when I try to build .so from cygwin terminal
$ /cygdrive/C/Android/android-ndk-r8/ndk-build
Running android-ndk-r8 on windows 7 using Cygwin
So you're calling ndk-build using its path? What happens when you simply execute 'ndk-build' within the sample's directory?
Running android-ndk-r8 on windows 7 using Cygwin
I get the same error
$ndk-build
Android NDK: ERROR:jni/Android.mk:QCAR-prebuilt: LOCAL_SRC_FILES points to a missing file
Running android-ndk-r8 on windows 7 using Cygwin
Have you been able to resolve this issue?
Be sure to run ndk-build in the base directory of the sample.
Running android-ndk-r8 on windows 7 using Cygwin
Yes,
I was able to compile the code using cygwin. It was mistake that I was trying to compile sample from the place with folder name with spaces.
But, still I am not able to see the code running.
Running android-ndk-r8 on windows 7 using Cygwin
Problem Solved.
https://ar.qualcomm.at/node/2001874 thread help me to solve it.