- Sort Posts
- 8 replies
- Last post
Re: I'm new to AR. I run sample of ImageTargets have problem
Re: I'm new to AR. I run sample of ImageTargets have problem
be sure your sysytem path already add your ndk folder
for example
C:\>path
PATH=c:\Development\Android\android-ndk-r7b
then change folder to your sample folder
then type ndk-build
you will see like these messages
#not really 100% the same
C:\Development\Android\vuforia-sdk-android-1-5-9\samples\ImageTargets>ndk-build
Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserver
Gdbsetup : libs/armeabi/gdb.setup
Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi-v7a/gdbserver
Gdbsetup : libs/armeabi-v7a/gdb.setup
Install : libImageTargets.so => libs/armeabi/libImageTargets.so
Install : libQCAR.so => libs/armeabi/libQCAR.so
Install : libImageTargets.so => libs/armeabi-v7a/libImageTargets.so
Install : libQCAR.so => libs/armeabi-v7a/libQCAR.so
FINISH!
Re: I'm new to AR. I run sample of ImageTargets have problem
Have you set up Cygwin? You can use the "cd" command in Cygwin to change directories to the sample folder. Something like this:
cd /cygdrive/c/Development/Android/vuforia-sdk-android-1-5-9/samples/ImageTargets
(change the path as needed)
Then type "ndk-build". This assumes the Android NDK is already on your PATH.
Follow Step 1 of the Getting Started guide closely: https://ar.qualcomm.at/qdevnet/
- Kim
First of all Vuforia will not work with android emulator. you have ti have a real devices which support OpenGLES2.0 and you have to modify your android manifest file for it.
Please try not to skip any step involved in the sample