OpenCV 3.0-dev with OSX 10.10 Yosemite and Extras

The awesome post of [1] on how to get openCV up and running helped a lot, thanks!

Although there were some things I had to add to get everything I needed. Basically the openCV contrib (SIFT, …) [2] and some additions within cmake to get it to build and run.

Here is a quick overview of what I did, mixed my own findings with what suggested in [1]:

1) Download opencv from [3] and extract
2) Make directories ‘StaticLib’ and ‘contrib’ within the the extracted folder
3) Run CMAKE and make the following Settings:

  • SET
    • CMAKE_OSX_SYSROOT: /Applications/
    • OPENCV_EXTRA_MODULES_PATH: <opencv-extra-contrib-path>
    • OPENCL_*
    • WITH_1394

4) Configure (select UNIX Makefiles) and Generate
5) Make and install

make install

6) Check e.g. in python if everything works:

import cv2


Started a small project in order to extend our internal portal with information of our Agfeo PBX.

I’m now able to make a specific phone dial a number and retrieve its caller list.

I also created a github repository for the scripts i created during the testing. This repository does not include my full implementation but all necessary parts: