"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Error ImageTargetNative via ndk-build

Hi team,

I try to run ImageTargetsNative-2-8-8 and required me to build using ndk-build but it give me error below. I think its not permission issues or path as I already set my path in windows. Does something wrong on my setup?

Please advise and help me.  Appreciate your help.

Administrator@your-a9279112e3 /cygdrive/c/DEVELOPER/Vuforia SDK 2.8/samples/ImageTargetsNative-2-8-8

$ ndk-build[armeabi-v7a] Cygwin         : Generating dependency file converter script[armeabi-v7a] Compile++ arm  : ImageTargetsNative <= ImageTargets.cpp/bin/sh: /cygdrive/c/DEVELOPER/android-ndk-r9b/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++: cannot execute binary file/cygdrive/c/DEVELOPER/android-ndk-r9b/build/core/build-binary.mk:386: recipe for target 'obj/local/armeabi-v7a/objs/ImageTargetsNative/ImageTargets.o' failedmake: *** [obj/local/armeabi-v7a/objs/ImageTargetsNative/ImageTargets.o] Error 126

 

Thanks.

[quote=chenoi]

Hi team,

I try to run ImageTargetsNative-2-8-8 and required me to build using ndk-build but it give me error below. I think its not permission issues or path as I already set my path in windows. Does something wrong on my setup?