Recently I'm trying OpenCV out for my graduation project. I've had some success under Windows enviroment. And because with Windows package of OpenCV it comes with pre-built libraries, so I don't have to worry about how to build them. But since the project is suppose to run on a cluster with CentOS as host OS for each node, I have to know how to correctly compile, and run these library under Linux enviroment.
I've set up a VM with VirtualBox and installed Ubuntu 13.04 on it. But so far I still can't find a way to adjust the settings of CMakeList to make Java a build target. (A jar, and a native library so I can import and use them in MapReduce program) Following is the official tutorial of desktop Java for OpenCV
http://docs.opencv.org/doc/tutorials/introduction/desktop_java/java_dev_intro.html
The part about the compiling is pretty brief. So I still can't quite understand it. Is it because I missed some dependency for Java? I've already got JVM(Jre-7u7) installed. Or is it because I didn't configure CMakeList.txt correctly?
Here is the things I've done so far, other than that it's a complete clean Ubuntu
- Installed vim
- Installed g++
- Installed cmake
- installed cmake-curses-gui
- installed java7 JVM
- download OpenCV package for Linux
The target enviroment is Cluster with CentOS as host OS for each node, and the project is a MapReduce program.
Thanks in advance.