Management of native libraries in OpenCV for Desktop Java (Feature #2818)
Description
In Android, there is a manager that handles the installation of the native libraries corresponding to the current architecture. Is/will there be something similar in Java-Desktop?
Otherwise, a programmer that wants to support Linux/Mac/Win, will have to compile OpenCV 3 to 5 times, and include all the native libraries. Actually, the Windows distribution provides OpenCV binaries for Win32/64, but there is no repository for binary builds, so Java developers wanting to support multiple platforms have to compile the OpenCV code in all these architectures, which can be a problem if you don't have access to some OS's (like if you don't have a Mac). This is a problem also in the JavaCV wrapper.
Finally, the JavaCV author expressed a concern about the whole OpenCV for Java being exposed in a single library, not allowing the possibility of choosing only the modules that are used in the application. The size of the jars containing the jni interfaces and native libs could be greatly decreased, if only the required modules are included.
Associated revisions
Merge pull request #2818 from StevenPuttemans:fix_linux_tutorial
History
Updated by Maksim Shabunin over 9 years ago
Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4510