(install OpenCV in 1 minute, just open terminal and type the three red lines!!)
To build the environment, first we should have OpenCV in our OS
I use homebrew to install OpenCV 2.3.1a and I think it's very easy and fast.
First open your terminal and type
/usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
By doing this, homebrew is now inside your system.
