In my previous article "" has introduced the Linux under the OpenCV installation configuration method, here only records the Mac to the Linux a little difference.
1. Installing dependent Packages
The tool used to install packages on Mac is brew, which replaces the Apt-get in Ubuntu. In addition, some of the packages under Mac may be different from Linux, so we need to look for alternative solutions, and here are the related packages I installed.
Install GCC pkg-config ffmpeg libgphoto2 libav libjpeg libpng libtiff libdc1394 Ant
2. Download IPP source Package
On Mac, need to download ippicv_macosx_20151201.tgz This package, this package can be found in Csdn "http://download.csdn.net/detail/googgg/9422153", unfortunately I do not have points, So there is no download, the choice of solution is to turn this compilation option off, just need to add an option when executing the cmake command:
Cmake-dwith_ipp=off
Note: The other work is the same as described in the previous article, no longer repeat.
MAC OS x Installation OpenCV 3.1.0