hellonico / origami

Lowest barrier of entry to Image Processing, Computer Vision and Neural Networks on the JavaVM
https://hellonico.github.io/origami-docs/#/
Eclipse Public License 1.0
122 stars 7 forks source link

can't load opencv_java400 #26

Closed pekeler closed 5 years ago

pekeler commented 5 years ago

Trying out the example on MacOS

$ lein run
...
Retrieving opencv/opencv/4.0.0-0/opencv-4.0.0-0.jar from vendredi
Retrieving opencv/opencv-native/4.0.0-1/opencv-native-4.0.0-1.jar from vendredi
Exception in thread "main" java.io.IOException: Couldn't load library library opencv_java400, compiling:(opencv4/core.clj:10:1)
    at clojure.lang.Compiler.load(Compiler.java:7526)
...
Caused by: java.io.IOException: Couldn't load library library opencv_java400
    at org.scijava.nativelib.NativeLoader.loadLibrary(NativeLoader.java:141)
...

Can anything be done to work around this?

hellonico commented 5 years ago

Running mojave yes ?

hellonico commented 5 years ago

If you have brew install installed, could you run the following ?

brew install tbb webp libtiff 
pekeler commented 5 years ago

Yes, 10.14.3.

After that brew install, lein run succeeds. Thanks!

hellonico commented 5 years ago

Added some doc. Thanks for finding this out.