Peenoo / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

'/lib/libcxcore.so' not found #164

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Facedetection.java
2.
3.

What is the expected output? What do you see instead?
Works...

What version of the product are you using? On what operating system?
Newest. Windows 7 64 bit. For Android.

Please provide any additional information below.
Trying to get face detection working, followed the instruction in the 
readme.txt but I am not sure why it is looking libcxcore.so in that location...

I am very new to Android/OpenCV...

stack-Trace:
java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1963]:   172 
could not load needed library '../../lib/libcxcore.so' for 'libcv.so' 
(load_library[1105]: Library '../../lib/libcxcore.so' not found)
    at java.lang.Runtime.loadLibrary(Runtime.java:434)
    at java.lang.System.loadLibrary(System.java:554)
    at com.eye.tracking.FaceView.<init>(EyeTrackBetaActivity.java:143)
    at com.eye.tracking.EyeTrackBetaActivity.onCreate(EyeTrackBetaActivity.java:64)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
    at android.app.ActivityThread.access$1500(ActivityThread.java:117)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:130)
    at android.app.ActivityThread.main(ActivityThread.java:3691)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:507)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
    at dalvik.system.NativeStart.main(Native Method)

Original issue reported on code.google.com by xHama...@gmail.com on 1 Mar 2012 at 10:26

GoogleCodeExporter commented 9 years ago
It doesn't look like you are using JavaCV.. ? What is com.eye.tracking.FaceView 
?

Original comment by samuel.a...@gmail.com on 1 Mar 2012 at 11:45

GoogleCodeExporter commented 9 years ago
My class is called package com.eye.tracking; which includes detecting a face. 
The FaceView is the class from the demo.

Original comment by xHama...@gmail.com on 1 Mar 2012 at 11:50

GoogleCodeExporter commented 9 years ago
Ok, and why are you calling System.loadLibrary("cv") ? JavaCV uses neither 
libcv.so nor libcxcore.so

Original comment by samuel.a...@gmail.com on 2 Mar 2012 at 12:06

GoogleCodeExporter commented 9 years ago
aahh... I see... I was looking at an older revision. My bad. Thanks.

Original comment by xHama...@gmail.com on 2 Mar 2012 at 6:24

GoogleCodeExporter commented 9 years ago
So, is it working with the latest release?

Original comment by samuel.a...@gmail.com on 7 Mar 2012 at 5:45

GoogleCodeExporter commented 9 years ago
Yes it is.

Original comment by xHama...@gmail.com on 8 Mar 2012 at 9:58

GoogleCodeExporter commented 9 years ago
Question: in your facedetect demo what is "public static final int 
SUBSAMPLING_FACTOR = 4;" for?

Original comment by xHama...@gmail.com on 8 Mar 2012 at 11:27

GoogleCodeExporter commented 9 years ago
I use it in the code to resize down the input image for performance reasons.

Please post your questions on the mailing list, if possible, thanks!

Original comment by samuel.a...@gmail.com on 9 Mar 2012 at 7:24