opencv-java / getting-started

Getting started with OpenCV and JavaFX
105 stars 176 forks source link

UnsatisfiedLinkError on mac #1

Closed lulujiang closed 8 years ago

lulujiang commented 8 years ago

I have done everything according to the doc.I can find a file named libopencv_java310.so in /path/to/opencv-3.1.0/build/lib. Also ,I configured the Native library path to /path/to/opencv-3.1.0/build/lib in eclipse.

but after running he HelloCV project,an error below occured:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java310 in java.library.path.

luigidr commented 8 years ago

Hi, the /path/to/opencv-3.1.0 is to be replaced with the specific path on your computer. For example, if you installed opencv-3.1.0 in /Applications/opencv you have to insert /Applications/opencv/build/lib.