Log in or register to post comments

Facing problem to run the Sample Application of Augmented reality

December 19, 2012 - 10:03pm #1

Hiiii 

I m getting some error when trying to run the sample application of the Augmented Reality..

can Some body help me \

 

12-20 10:56:04.257: E/AndroidRuntime(746): java.lang.UnsatisfiedLinkError: getOpenGlEsVersionNative
12-20 10:56:04.257: E/AndroidRuntime(746): at com.qualcomm.QCARSamples.ImageTargets.ImageTargets.getOpenGlEsVersionNative(Native Method)
12-20 10:56:04.257: E/AndroidRuntime(746): at com.qualcomm.QCARSamples.ImageTargets.ImageTargets.getInitializationFlags(ImageTargets.java:386)
12-20 10:56:04.257: E/AndroidRuntime(746): at com.qualcomm.QCARSamples.ImageTargets.ImageTargets.onCreate(ImageTargets.java:356)
12-20 10:56:04.257: E/AndroidRuntime(746): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)12-20 10:56:04.257: E/AndroidRuntime(746): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)

 

12-20 10:56:04.257: E/AndroidRuntime(746): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
 

 

Hi Arvind, there could be

December 28, 2012 - 2:26pm #7

Hi Arvind,

there could be some problems with android ndk-r8c (we have seen other reports about compile issues with ndk-r8c); this looks more likely a bug in the latest NDK platform (you can probably find similar issues in Android forums);

I would recommend to install and use ndk-r8b (instead of r8c) for the moment, while waiting for some updates from the Google/Android side.

Getting errors in Vuforia Samples

December 25, 2012 - 2:35am #6

hiiiii 

I m trying to run vuforiya sample example from cygwin  i had created the root directory where the sample example is placed but after that when i tryied to run the android-ndk-r8c through command prompt then i m getting some errors which i have mentioned below plzzz help me to resolve it..

 

 

User@Trendsetterz-PC /cygdrive/d/BackUpD/Vuforia/samples/MultiTargets-2-0-6
Compile++ arm    : MultiTargets <= MultiTargets.cpp
Compile++ arm    : MultiTargets <= SampleUtils.cpp
Compile++ arm    : MultiTargets <= Texture.cpp
StaticLibrary  : libstdc++.a
Prebuilt       : libQCAR.so <= jni/../../../build/lib/armeabi/
SharedLibrary  : libMultiTargets.so
e:/sdk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: error: cannot open ./obj/local/armeabi/libQCAR.so: Permission denied
e:/sdk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/MultiTargets/MultiTargets.o: in function Java_com_qualcomm_QCARSamples_MultiTargets_MultiTargets_initTracker:jni/MultiTargets.cpp:129: error: undefined reference to 'QCAR::TrackerManager::getInstance()'
e:/sdk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/MultiTargets/MultiTargets.o: in function Java_com_qualcomm_QCARSamples_MultiTargets_MultiTargets_deinitTracker:jni/MultiTargets.cpp:148: error: undefined reference to 'QCAR::TrackerManager::getInstance()'
e:/sdk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/MultiTargets/MultiTargets.o: in function Java_com_qualcomm_QCARSamples_MultiTargets_MultiTargets_loadTrackerData:jni/MultiTargets.cpp:159: error: undefined reference to 'QCAR::TrackerManager::getInstance()'
e:/sdk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/MultiTargets/MultiTargets.o: in function Java_com_qualcomm_QCARSamples_MultiTargets_MultiTargets_destroyTrackerData:jni/MultiTargets.cpp:195: error: undefined reference to 'QCAR::TrackerManager::getInstance()'
 

Problem with cygwin

December 24, 2012 - 10:18pm #5

hiiiiiii 

i had download and install the cygwin setup but when i m trying to execute make -v command on cygwin console it is firing an exception shows segmentation fault on console and creating two files 'bash.exe.stackdump' and 'mintty.exe.stackdump' on the same directory.

can u please help me to resolve this problem and to run android-ndk-r8c samples

 

Hi, this looks like one of

December 21, 2012 - 5:27am #4

Hi, this looks like one of the following:

- you did not build the JNI C++ source code (you need to execute "ndk-build" on the C++ source code from a Cygwin terminal)

- you did the build above, but you did not refresh the project in Eclipse after doing that

Are you sure you performed the two steps above ?

 

Getting errors in Vuforia Samples

December 20, 2012 - 9:22pm #3

yes i getting the same problem in all of the Vuforia samles like FrameMarkers-2-0-6 , ImageTargets-2-0-6 , MultiTargets-2-0-6 , UserDefinedTargets-2-0-6 etc......

Hi, which Sample App in

December 20, 2012 - 3:11am #2

Hi, which Sample App in particular ? is it one of the Vuforia samples ?

 

Log in or register to post comments