Wednesday, August 11, 2010

1. Easy build via MacPorts

For Snow Leopard users, you can build OpenCV 2.1.0 and above via MacPorts as a 64-bit library with support of QTKit video I/O and Cocoa GUI.

Assuming MacPorts installed, first use:

sudo port selfupdate

to update the MacPorts base and the port tree. Then, simply:

sudo port install opencv

to build OpenCV 2.1.0 in 64-bit.

Mac_OS_X_OpenCV_Port - OpenCV Wiki

Notes