opencvInstall
A small guide to add opencv 3.0 libs and includes to eclipse
- Install the opencv package you gave. Same exact steps you gave.
- Next, download the .tar.gz file from the release page : https://github.com/robotpy/roborio-opencv/releases
- Get a basic robot project working.
- Go to project properties and hit C/C++ Build -> Settings.
- Go to the tool settings category at the top, then to Cross G++ Compiler -> Includes.

- Under the Includes Path, hit the plus button and type the directory to the includes folder. (ex: C:\OpenCV-unknown-\include)
- Under the Cross G++ Linker Tab -> Libraries enter the directory to the library folder under library search path. (ex: C:\OpenCV-unknown-\lib)

- Add these modules under Libraries: opencv_core, opencv_imgproc, opencv_videoio, opencv_highgui, pthread, opencv_imgcodecs
- Go to Cross G++ Linker -> Miscellaneous and add ",-rpath,INCLUDE DIR HERE,-rpath,LIBRARY DIR HERE" (without quotes)

- For example: ,-rpath,C:\OpenCV-unknown-\include,-rpath,C:\OpenCV-unknown-\lib
- I made a new folder called vision in the src folder of my project and made a vision class.
- Add #include to my .h file for my vision class.
- Success!

(Probably same idea for Java.)