如何为 iOS7 (arm64) 编译 OpenCV [英] How to compile OpenCV for iOS7 (arm64)

查看:42
本文介绍了如何为 iOS7 (arm64) 编译 OpenCV的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编译 Xcode 项目失败并出现以下错误:'文件/Users/*/Git/ocr/opencv2.framework/opencv2 中缺少必需的架构 arm64'

Compiling Xcode Project fails with following errors: 'missing required architecture arm64 in file /Users/*/Git/ocr/opencv2.framework/opencv2'

效果很好,如果我将架构(在构建设置下)更改为 (armv7, armv7s) 而不是 (armv7, armv7s).

It works well, if i change Architectures(under Build Settings) to (armv7, armv7s) instead of (armv7, armv7s).

如何更改 opencv python 构建脚本,为 opencv2.framework 添加 arm64 支持?

How to change the opencv python build script, to add arm64 support to opencv2.framework?

推荐答案

最新的OpenCV iOS框架默认支持64位

The latest OpenCV iOS framework supports 64 bit by default

可以在:OpenCV下载页面

这篇关于如何为 iOS7 (arm64) 编译 OpenCV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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