OpenCV和Xcode [英] OpenCV and Xcode

查看:113
本文介绍了OpenCV和Xcode的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究图像和视频中的模式识别,并认为C ++是发展的方向(对于高性能/实时应用程序).构建C ++应用程序(命令行工具)时,我想在Xcode中使用OpenCV库

I am looking at pattern recognition in images and video and have thought that C++ is the way to go (for high performance/real-time applications). I want to use the OpenCV libraries in Xcode when I build a C++ application (command-line tool)

我正在运行Xcode 3.2,并且已经按照 http://opencv.willowgarage.com上的步骤进行操作/wiki/Mac_OS_X_OpenCV_Port ,直到使用新的CMake构建系统进行构建"部分中的这可能会破坏TIFF导出中的某些内容,但是构建至少完成了".我没有任何错误.

I am running Xcode 3.2 and have just followed the steps at http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port up to "This probably breaks something in TIFF export, but the build at least completes" in the section "Building using the new CMake build system". I have had no errors.

如果要立即使用Xcode中的库,还是要做其他事情,该怎么办?任何帮助将不胜感激.

How do I proceed if I want to use the libraries in Xcode now or do I need to do something else? Any help is greatly appreciated.

最大

推荐答案

基本上,这是找到产生的库并将其放入xcode项目的问题.您可以将库复制到项目中,也可以仅对其进行引用.

Basically its a matter of finding the produced library and dropping it into your xcode project. You can either copy the library into your project or just have a reference to it.

文档,其中介绍了如何将库和框架链接到应用程序中.

There is a section in the "Xcode Project Management Guide" document that explains how to link libraries and frameworks into your application.

"Xcode构建系统指南" 可能是一本好书.

这篇关于OpenCV和Xcode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆