Ask Your Question

Gurinderbeer Singh's profile - activity

2016-04-01 13:58:12 -0600 commented question I cannot use OpenCV java with Tomcat

Hey there, I have also got a kind of similar situation. Did you got your problem working correctly....! If yes, please mention how.....

2016-04-01 13:15:42 -0600 commented question Java Opencv unsatisfiedLinkError , but native library is loaded

Thanks for your reply, I am using this on Linux. Actually, I am getting this error when I am using Opencv with Hadoop. The native library is loaded, but still i am getting the above error. Do you have any idea, what could be the reason...!

2016-04-01 13:11:38 -0600 asked a question Java Opencv unsatisfiedLinkError , but native library is loaded

I am trying to run some program on opencv, but I am getting this error:

Exception in thread "main" java.lang.UnsatisfiedLinkError:  
org.opencv.objdetect.CascadeClassifier.CascadeClassifier_0(Ljava/lang/String;)J

I have already loaded the library, libopencv_java310.so by using this code:

System.loadLibrary(Core.NATIVE_LIBRARY_NAME);

I have also added the path to the native library.

I have searched a lot on the internet, but the only reason this error comes, is due to native library is not loaded. What could be the other reason of getting this error.

Can anyone help....! Any help will be appreciated.