"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

Running ImageTargets Sample App Problem

Hi Everybody;I have a problem about running sample application which is ImageTargets. I completely following the tutorial about setup vuforia but I cant understand step 3's first part. So I cant do that part. In this part tutorial say that;

Change directory to ImageTargets in the <DEVELOPMENT_ROOT>\vuforia-sdk-android-xx-yy-zz\samples 

directory and execute: ndk-build

but I cant find ndk-build in ImageTargets folder. 

 

01-08 22:03:41.918: E/QCAR(26019): The library libQCAR.so could not be loaded01-08 22:03:41.918: E/QCAR(26019): The library libImageTargets.so could not be loaded In eclipse I have an errors like this in logcat. In the tutorial, as you can see when I execute ndk-build it will give me a output like this; Gdbserver      : [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserverGdbsetup       : libs/armeabi/gdb.setupGdbserver      : [arm-linux-androideabi-4.4.3] libs/armeabi-v7a/gdbserverGdbsetup       : libs/armeabi-v7a/gdb.setupCompile++ arm  : ImageTargets <= ImageTargets.cppCompile++ arm  : ImageTargets <= SampleUtils.cppCompile++ arm  : ImageTargets <= Texture.cppStaticLibrary  : libstdc++.aPrebuilt       : libQCAR.so <= jni/../../../build/lib/armeabi/SharedLibrary  : libImageTargets.soInstall        : libImageTargets.so => libs/armeabi/libImageTargets.soInstall        : libQCAR.so => libs/armeabi/libQCAR.soCompile++ arm  : ImageTargets <= ImageTargets.cppCompile++ arm  : ImageTargets <= SampleUtils.cppCompile++ arm  : ImageTargets <= Texture.cppStaticLibrary  : libstdc++.aPrebuilt       : libQCAR.so <= jni/../../../build/lib/armeabi-v7a/SharedLibrary  : libImageTargets.soInstall        : libImageTargets.so => libs/armeabi-v7a/libImageTargets.soInstall        : libQCAR.so => libs/armeabi-v7a/libQCAR.so

I think my problem is about executing ndk-build. Can you help me? I cant find it in ImageTargets folder and I dont know how to execute it.

 

 

AlessandroB

Tue, 01/08/2013 - 20:41

Hi,

the ndk-build command is a general command that is used for building C++ NDK projects;

it is not located in the sample directory (ImageTarget), but is located in the AndroidNDK installation directory on your system, for instance:

I cant understand your solution because I am beginner at ndk things. Can you explain more detailed please? But I know that, I added the path you give to the system path. If your solution is different than tutorial, please explain in detailed. Thanks