FFMPEG编译库和iOS [英] FFMPEG Compiled Libraries And iOS

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

问题描述

我已将编译的FFMPEG库从测试应用程序复制到我的xcode项目中,但是激发将其添加到我的项目中,我无法使用它们,

I have copied compiled FFMPEG libraries from a test app into my xcode-project but inspite of adding them into my project i am unable to use them,

#include< libavcodec / avcodec.h>

甚至所有已编译的库(libavcodec.a,libavutil)都会出错。 a,libavformat.a,libavdevice.a>全部在链接库中根据需要的框架指定。

givers error even all the complied libraries (libavcodec.a, libavutil.a, libavformat.a, libavdevice.a> all are specified in link libraries as required framework.

推荐答案

您的项目中有一些问题出现。

when you say you copied libs into your project some questions come up.

(1)你在哪里复制libs,是(armv6,armv7。i386)还是fat通用
(2)您是否在Xcode
(3)中添加了这些库,其中lib的包含在哪里,它们在Xcode中正确设置的搜索路径

(1) where did you copy the libs for, are they (armv6, armv7. i386) or fat universal. (2) did you add the libs in Xcode (3) where are the includes for the libs, is the search path for them correctly set in Xcode

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

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