Log in or register to post comments

Failed to initialize QCAR

December 12, 2013 - 8:37am #1

Downloaded the sample projects and put it in 

C:\projectsdev\android\vuforia-sdk-android-2-5-7\samples

C:\projectsdev\android\android-ndk-r8

C:\projectsdev\android\android-sdk

 

Then import the sample project to eclipse with ndk-build using cygwin. When i run the app in device, getting failed to initialize the QCAR.

 

 

cygwin:

$ cd C:\\projectsdev\\android\\vuforia-sdk-android-2-5-7\\samples\\CloudRecognition-2-6-7
 
Arun@Arun-PC /cygdrive/c/projectsdev/android/vuforia-sdk-android-2-5-7/samples/CloudRecognition-2-6-7
$ 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
Cygwin         : Generating dependency file converter script
Compile++ arm    : CloudReco <= Transition3Dto2D.cpp
Compile++ arm    : CloudReco <= CloudReco.cpp
Compile++ arm    : CloudReco <= SampleUtils.cpp
Compile++ arm    : CloudReco <= Texture.cpp
Compile++ arm    : CloudReco <= SampleMath.cpp
StaticLibrary  : libstdc++.a
Prebuilt       : libQCAR.so <= jni/../../../build/lib/armeabi/
SharedLibrary  : libCloudReco.so
Install        : libCloudReco.so => libs/armeabi/libCloudReco.so
Install        : libQCAR.so => libs/armeabi/libQCAR.so
Compile++ arm    : CloudReco <= Transition3Dto2D.cpp
Compile++ arm    : CloudReco <= CloudReco.cpp
Compile++ arm    : CloudReco <= SampleUtils.cpp
Compile++ arm    : CloudReco <= Texture.cpp
Compile++ arm    : CloudReco <= SampleMath.cpp
StaticLibrary  : libstdc++.a
Prebuilt       : libQCAR.so <= jni/../../../build/lib/armeabi-v7a/
SharedLibrary  : libCloudReco.so
Install        : libCloudReco.so => libs/armeabi-v7a/libCloudReco.so
Install        : libQCAR.so => libs/armeabi-v7a/libQCAR.so

Failed to initialize QCAR

December 27, 2013 - 1:12am #2

Be sure your path to QCAR and your NDK integration is correct. I used to have same problem, solved by this way.

Log in or register to post comments