OpenCV中的交叉编译为ARM 9处理器 [英] cross compilation of opencv for ARM 9 processor

查看:194
本文介绍了OpenCV中的交叉编译为ARM 9处理器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要交叉编译为ARM 9处理器的OpenCV。我对处理器的工具链,但不知道如何交叉编译。可以在一些请告诉我交的程序编译它的手臂板。

i need to cross compile opencv for ARM 9 processor. I have the tool chain for the processor but don't know how to cross compile. Can some on please tell me the procedure of cross compiling it for the arm board.

感谢大家提前

推荐答案

看这个的对交叉编译的解释参考。如果源要编译支持GNU编译系统应该是打字一样容易 ./配置主机=臂无-Linux的gnueabi 而不是 ./配置,但可发生各种问题(如编译系统尝试将在构建过程中,因为要构建ARM $ C,这是不可能运行编译code $ C在X86(我假设)的机器)。

Look at this reference for a explanation of cross compiling. If the source to be compiled supports the GNU build system it should be as easy as typing ./configure --host=arm-none-linux-gnueabi instead of ./configure, but all types of problems can occur (e.g. that the build system tries to run compiled code during the build process which is not possible since you are building ARM code on a X86 (I assume) machine).

这是说我看了一下配方中 OpenEmbedded的它有依赖关系(你需要首先建立的东西)的IM pressive号;例如蟒蛇,痛饮,油嘴(1)。所以,我要说,你有一些工作要做你;)

That said I looked at the recipe for opencv in OpenEmbedded and it has an impressive number of dependencies (stuff you need to build first); e.g. python, swig, glib (1). So I would say that you have some work ahead of you;)

(1):这些依赖性是那些由OpenEmbedded的给予,你也许能比那些少指定脱身。

(1) : These dependencies are those given by OpenEmbedded and you might be able to get away with fewer than those specified.

这篇关于OpenCV中的交叉编译为ARM 9处理器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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