After way too many attempts, I finally got OpenCV in OSX.
To anyone interested, the most useful guide for installation for me was this one. Trust me, setting up OpenCV can be a really daunting task without the proper tools previously installed. For instance, having Python previously installed (version 2.x since 3.x is not supported yet) can save you a lot of trouble if you plan to use the Python bindings of OpenCV (which apparently was a big problem for the person who created the guide I’m recommending).
I followed that guide but trying to install the 2.4.4 Beta version from the downloads page of OpenCV yielded no luck. I always received an error about some Java test files not being found, more specifically:
Total time: 0 seconds
make[2]: [modules/java/test/.build/build/jar/opencv-test.jar] Error 1
make[1]: [modules/java/test/CMakeFiles/opencv_test_java.dir/all] Error 2
make: [all] Error 2
Thankfully just last week I learned about Git and since the OpenCV guide for Linux/Mac has a link to their Git repository (to follow this road you’ll need a Git client, such as GitHub), I decided to give it a try, re-downloaded the OpenCV files, restarted the steps from the guide… and voilà. No more Java test problems. I guess there’s a reason these things are called Beta right?
Anyway, if anybody comes across this same issue, try the Git repository, wait for version 2.4.4 stop being Beta, or use the stable version 2.4.3 instead.
This looks like a very useful tool, thank you for sharing