vianziro / droidar

Automatically exported from code.google.com/p/droidar
0 stars 0 forks source link

Cannot build Project "MarkerDemos" #35

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. new Eclipse Workspace -> add Projects to Workspace -> [DroidAr, ArMarker, 
MarkerDemo]
2. check libary links and correct them if nessesary
3. click on Eclipse's "run MarkerDemos" 

What is the expected output? What do you see instead?
should install and run the App MarkerDemos, but getting an Exception on start:

------------------------------------------------
04-03 16:03:07.762: E/AndroidRuntime(1752): 
java.lang.ExceptionInInitializerError
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
markerDetection.MarkerDetectionSetup.<init>(MarkerDetectionSetup.java:53)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
de.rwth.MultiMarkerSetup.<init>(MultiMarkerSetup.java:28)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
de.rwth.Main.onCreate(Main.java:26)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2717)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2769)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
android.app.ActivityThread.access$2500(ActivityThread.java:129)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2117)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
android.os.Handler.dispatchMessage(Handler.java:99)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
android.os.Looper.loop(Looper.java:143)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
android.app.ActivityThread.main(ActivityThread.java:4717)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
java.lang.reflect.Method.invokeNative(Native Method)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
java.lang.reflect.Method.invoke(Method.java:521)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
dalvik.system.NativeStart.main(Native Method)
04-03 16:03:07.762: E/AndroidRuntime(1752): Caused by: 
java.lang.UnsatisfiedLinkError: Library opencv not found
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
java.lang.Runtime.loadLibrary(Runtime.java:461)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
java.lang.System.loadLibrary(System.java:557)
04-03 16:03:07.762: E/AndroidRuntime(1752):     at 
nativeLib.NativeLib.<clinit>(NativeLib.java:55)
---------------------------------------------

What version of the product are you using? On what operating system?
latest Version (r304) Xubuntu 11.10

Please provide any additional information below.
I tried on 3 Different Phones:
Samsung Nexus S
Motorola Droid
Htc Wildfire
with the exact same Exception

Original issue reported on code.google.com by Raf...@gmail.com on 3 Apr 2012 at 1:59

GoogleCodeExporter commented 8 years ago
Did you also follow all these steps: 
http://code.google.com/p/droidar/wiki/Markerdetection ?

Original comment by simon.heinen on 3 Apr 2012 at 6:02

GoogleCodeExporter commented 8 years ago
having the same issue...

Original comment by nima.mah...@gmail.com on 18 Jul 2013 at 3:32

GoogleCodeExporter commented 8 years ago
I am also facing by the same problem. I tried to run this project. But there is 
cv.h is not resolving problem in myOpenCVDetection.c file in jni folder of 
ArMarker project. I have spent one week ,Please help me. Thanks In Advance.

Original comment by mohdirfa...@gmail.com on 11 Dec 2014 at 11:50