如何在Mac OS X Lion上通过Cmake编译OpenCV 2.4.0(beta2)? [英] How to compile OpenCV 2.4.0 (beta2) by Cmake on Mac OS X Lion?
问题描述
我想在我的Mac OS X Lion系统上使用Opencv 2.4.0(beta2)以及EmguCV和MonoDevelop。但是我没能通过Cmake编译OpenCV 2.4.0,它显示缺少一些highgui的dylib文件。
I want to use Opencv 2.4.0 (beta2) together with EmguCV and MonoDevelop on my Mac OS X Lion system. But I failed to compile the OpenCV 2.4.0 by Cmake and it shows lacking of some dylib files of highgui.
任何人都可以告诉我整个配置和编译OpenCV的过程2.4.0在Mac OS X?感谢。
Anybody can tell me the whole configuration and process to compile OpenCV 2.4.0 in Mac OS X? Thanks.
推荐答案
要消除关于python的sphinx包的错误,请使用
To eliminate the error concerning the sphinx package for python, install it using
sudo easy_install -U Sphinx
如果您使用MacPorts:
OR if you use MacPorts:
sudo port install py26-sphinx
在检查默认python解释器python --version的版本之前。在我的例子是2.6。
Before check the version of the default python interpreter "python --version". In my example it is 2.6.
这篇关于如何在Mac OS X Lion上通过Cmake编译OpenCV 2.4.0(beta2)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!