English 中文(简体)
在狮子OS 10.7.4 Xcode 4.3.2上安装打开的CV
原标题:Installing openCV on Lion OS 10.7.4 Xcode 4.3.2

I m trying to install openCV on university s iMac,

but the problem is our university s network is so strict.

and I couldn t install openCV using MacPorts.

I tried google to look for a way to install but it all failed

i guess because it is kind of old ways and because my network is so strict.

So if anybody knows a way that I can download a ready framework with how to use it inside

Xcode. or at least a framework with how to install it to work with Xcode. or a way to download from the source and compile it then install it in Xcode please.

因为我尝试了骗人的手法,但我还是没有运气 让它工作。

提前感谢。


sources I used:

http://salemsayed.me/?p=240

http://opencv.willowgarage.com/wiki/InstallGuide

http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port

http://www.ient.rwth-achen.de/cms/ software/opencv/

最佳回答

I m 使用狮子+Xcode 4.x 分支, 配有 OpenCV svn 树干。 一切正常。 您必须首先安装 < strong > cmake , 然后按照< a href=" http://code. opencv.org" 的指示从 svn 获得代码, http:// code. opencv. org " rel= "nofollow" > http://code. opencv.org 。 对于所有核心模块 + Qt 模块 + GPU 模块 + TBB 加速程序, 编译程序对我非常有效 。

The instructions are the same as the Linux platform. After setting up cmake configuration in a terminal (using ccmake for a more interactive tool), I set the architecture to x86_64 (on my MBP Core 2 Duo), the target directory to /usr/local/(the default), and I have Intel TBB installed in /usr/local/.

CMake 为您生成创建文件, 所以您只需要输入 < code> make - j2 来编译, 然后 < code>sudo 来安装 。 如果您在工作站上重新工作, 那么您就会有更多的 CPU 能力, 并且您可以将值 2 替换为更多, 例如 8 。

问题回答

暂无回答




相关问题
How to change out-of-focus text selection color in Xcode?

Okay, I ll bite. I ve got really pleasant code/window colors set up in Xcode. Ordinarily, my selection color is very visible. When I am doing a project search and iterating through the results, ...

Iphone NSTimer Issue

Hi I am new to objective c. I am trying to make an app for iphone. I have a button on my view, and the click on which the function playSound is called. This is working properly. It does plays the ...

Include a .txt file in a .h in C++?

I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Xcode open two editor windows with same file

Is it possible to open the same file in two separate windows in Xcode. I can open a file in one window and the same file in the main Xcode editor window, but I wanted two separate fulltime editor ...

Forcing code signing refresh in Xcode

In our environment, we share resources across multiple projects and platforms. When building for iPhone, only a subset of those resources are needed. Since that subset is still considerable, we have ...

热门标签