使用SSE优化OpenCV,使用Xcode IDE。配置如下
安装使用Homebrew,地址如下:
http://brew.sh
安装cmake,使用命令:sudo brew install cmake
出现Error:Cowardly refusing to 'sudo brew install'

解决方案:http://digitizor.com/fix-cowardly-refusing-sudo-error-brew/
让brew获取root权限

获得root权限后的brew:

配置opencv网上教程多且杂,有些教程已经无法支持新的OpenCV版本和Xcode版本,经过多次尝试,以下地址的配置过程符合现在OpenCV3.0以上版本以及Xcode 7.0以上编译环境。
http://tilomitra.com/opencv-on-mac-osx/
网友评论