What size should libopencv_java341.dylib file be

asked 2018-04-25 13:26:32 -0500

I currently have a problem using OpenCV with a Java program in OSX.

I get the error Exception in thread "main" java.lang.UnsatisfiedLinkError: org.opencv.core.Mat.n_Mat()J, I have checked that I am pointing to the native library.

But I am not sure if the libopencv_java341.dylib library file has been built correctly, its size is 1.5MB.

To confirm that it was not the program that I have written I have run the HelloCV software and it produces the same error.

I previously had OpenCV working but installing bytedeco/javacpp and javaCV seems to have corrupted it.

To confirm my theory I have installed Eclipse on an old pc and downloaded the prebuilt opencv library and I can run the same java program which will not work on my mac.

Can anyone help?

edit retag flag offensive close merge delete