Closed amedvedjev closed 7 years ago
No. OpenCV was moved and the --with-java
option has been removed: https://github.com/Homebrew/homebrew-core/issues/17106
I will update the documentation as soon as possible, sorry about that.
@luigidr another issue i met that latest java client has:
private static String getNativeLibraryName() {
return "opencv_java320";
}
1) but latest openCV is 330. will it be conflict? 2) also is it possible to install older version 3.2.0?
Sorry, where is the getNativeLibraryName()
method?
About this, instead:
- also is it possible to install older version 3.2.0?
Yes, but you need to install OpenCV from source (e.g., by following the installation guide for Linux) or by editing the Homebrew formula to download and install OpenCV 3.2
@luigidr 'getNativeLibraryName' is in package org.opencv.core
It should return opencv_java320
, if you installed OpenCV 3.3.0...
no. i tested with 3.3.0.
System.loadLibrary("opencv_java320"); // not found
System.loadLibrary("opencv_java330"); // found
i can work.
Perfect.
I am updating the documentation right now, so I close this issue.
@luigidr but "/usr/local/opt/opencv3/share/OpenCV/java/" also not valid when i manually installing openCV 3.3.0 - it just does not create such link. i need change it to "/usr/local/Cellar/opencv/3.3.0/share/OpenCV/java/"
i mean you need update more ....
Yes, I will completely update the documentation in the next few hours, I am checking OpenCV 3.3.0 on my computer. :)
->
Am i doing something wrong?