How can I package the opencv library into a single jar and then import that to use? [closed]
In the Ubuntu 12.04 platform, I created a class Foo which used the opencv library, and then I export the whole project into a jar which include all the opencv library through the Eclipse tool. Last but not least, I am going to import that previous jar in order to make good use of a Foo class. How can I do that?
Some suggested the following method, but I am not quite sure.
no, you can't do this.
opencv is a c++ library with java wrappers. apart from the opencv-XXX.jar, you will need the opencv_javaXXX.so(dll) on the path, this can't go into a jar.
Thank you for the answer.