2019-07-05 01:25:01 -0600 | received badge | ● Notable Question (source) |
2018-02-27 07:27:09 -0600 | received badge | ● Popular Question (source) |
2015-08-08 15:39:26 -0600 | commented question | UnsatisfiedLinkError Java OpenCV 3.0.0 Hi Berak, Thanks for the reply! I have been able to verify that the native loader is indeed finding the .so file. When I explicitly load the library with a System.load(...) call the result is still the same. It's very strange because it seems like Java is able to load the native library just fine, but subsequent method calls and object instantiations trigger the UnsatisfiedLinkError. I haven't had any trouble at all with OpenCV 2.4.11. It's definitely possible (probable) that I just made a dumb-dumb error, but have you been able to load that .so and then instantiate either a Mat() or FeatureDetector()? It seems like there are a few more primitive-like classes such as Rect or Scalar that do not rely on native bindings.
|
2015-08-08 03:12:13 -0600 | asked a question | UnsatisfiedLinkError Java OpenCV 3.0.0 Dear all, I just compiled Opencv-3.0.0 from the source code on Github with the following options: I'm running on Redhat 6.6. Things seem to go well and the ant build also succeeds. In my build/lib directory I have a splendid 15 megabyte libopencv_java300.so, and in my build/bin directory a very lovely opencv-300.jar. In order to test things out I've been using my Scala console. Here's the short program that I execute in the read-eval-print-loop: OpenCV 2.4.11 works wonderfully, but I was hoping to take advantage of a few of the improvements in 3.0.0, such as the new FeatureDescriptors and some of the improved Java API. Unfortunately, I haven't been able to get to the bottom of the UnsatisfiedLinkError. I would greatly appreciate any advice! |