MAC OS x Installation OpenCV 3.1.0

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.