I am getting this error in cygwin terminal when I try to ndk-build
CB3SS@CB3SS-PC /cygdrive/e/android native/CloudRecognition-2-6-7$ ndk-buildAndroid NDK: ERROR:jni/Android.mk:QCAR-prebuilt: LOCAL_SRC_FILES points to a missing fileAndroid NDK: Check that jni/../../../build/lib/armeabi/libQCAR.so exists or that its path is correct/cygdrive/e/ndk/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting. Stop.
I have successfully did ndk-build to other sample codes for example ImageTargets and VideoPlayback. So I think setting up procedure of cygwin in my computer for vuforia has no issue. Its only the sample code of CloudReco is not working properly. Even if i load the app to my device, it fails to run and stops with error after showing the Splash Screen. I tried to deploy it in several devices :( no luck.
I have added my images on the database as well and copied the Accesskey and Secret Key as they mentioned. I copied the Client Access Keys into the CloudReco.h. I haven't changed anything of the sample other than this. Is there anyone who faced same issue? Thank you in advanced.
:)
Regards
Risul
ndk-build error in Cloud Reco
Hi, does the original Cloud Reco sample compile ?
If so, and if you just changed the access keys in CloudReco.h, you should be able to compile it, unless you have by chance made other changes to the code...
ndk-build error in Cloud Reco
Thanks for reply.
Sample code compiles in Eclipse but not in Cygwin, it shows error as i mentioned in previous post. And my cygwin setup is okay I believe as other samples (VidoePlayback and ImageTarget) are being compiled and running smoothly.
ndk-build error in Cloud Reco
Sounds like something 's been messed up with that sample. Have you tried deleting the following subdirectories of the Cloud Reco sample ?
- ./bin
- ./libs
- ./obj