如何解决 ios5 编译 ffmpeg产生的问题
2011-12-05 17:06
513 查看
以下大家友情支持一下:
做了一个产品,需要人气支持一下,android和iphone上91市场搜索#super junior粉丝团#,或者直接到页面下载http://m.ixingji.com/m.html?p=X16,大家帮忙捧捧场
错误如下:
前2个月搞的时候,碰到这个问题,当时找遍google也没人知道,最后改到另外一台电脑用ios 4.1的sdk编译通过。
今天再一试,已经有老外讨论了。记录一下
https://github.com/yuvi/gas-preprocessor/issues/16 http://stackoverflow.com/questions/7874667/trying-to-compile-last-ffmpeg-iphone-error-invalid-operand-in-inline-asm
基本上
1)首选是换sdk, 换4.2,4.3都可
2)禁用 asm
3)禁用某条语句
Well, just for a quick work, I did this:
1) find the error source, that is "av_clipl_int32_arm" in libavutil/arm/intmath.h;
2) avoid it. (I simply comment out "#define av_clipl_int32 av_clipl_int32_arm", so don't use NEON for just that one
function)
又遇到一个问题:
CClibavcodec/avpacket.o
error: invalid operand in inline asm: 'str ${2:Q}, $0
str ${2:R}, $1
还不知道怎么搞。。。
做了一个产品,需要人气支持一下,android和iphone上91市场搜索#super junior粉丝团#,或者直接到页面下载http://m.ixingji.com/m.html?p=X16,大家帮忙捧捧场
错误如下:
error: invalid operand in inline asm: 'ldr ${0:Q}, $1 ldr ${0:R}, $2
error: invalid operand in inline asm: 'adds $1, ${2:R}, ${2:Q}, lsr #31
前2个月搞的时候,碰到这个问题,当时找遍google也没人知道,最后改到另外一台电脑用ios 4.1的sdk编译通过。今天再一试,已经有老外讨论了。记录一下
https://github.com/yuvi/gas-preprocessor/issues/16 http://stackoverflow.com/questions/7874667/trying-to-compile-last-ffmpeg-iphone-error-invalid-operand-in-inline-asm
基本上
1)首选是换sdk, 换4.2,4.3都可
2)禁用 asm
./configure --disable-asm ...
3)禁用某条语句
Well, just for a quick work, I did this:
1) find the error source, that is "av_clipl_int32_arm" in libavutil/arm/intmath.h;
2) avoid it. (I simply comment out "#define av_clipl_int32 av_clipl_int32_arm", so don't use NEON for just that one
function)
又遇到一个问题:
CClibavcodec/avpacket.o
error: invalid operand in inline asm: 'str ${2:Q}, $0
str ${2:R}, $1
还不知道怎么搞。。。
相关文章推荐
- 如何解决 打开Word时产生 word无法启动转换器wps32 的问题
- 从ffmpeg源代码分析如何解决ffmpeg编码的延迟问题
- ffmpeg编译问题及其解决方法
- 从ffmpeg源代码分析如何解决ffmpeg编码的延迟问题
- 如何解决delphi xe8编译大程序时内存不够的问题。
- cmake3.8X64编译opencv3.2出现opencv_ffmpeg、opencv_ffmpeg_64、ippicv_windows_20151201.zip无法下载问题解决方案
- 编译ffmpeg无法生成ffplay的问题解决
- 从ffmpeg源代码分析如何解决ffmpeg编码的延迟问题
- 关于VS编译DevExpress默认产生几个多余的语言包的问题解决
- 关于VS编译DevExpress默认产生几个多余的语言包的问题解决
- Android源码分析(七)-----如何解决java编译版本问题
- 一个使用FFmpeg库读取3gp视频的例子-Android中使用FFmpeg媒体库(三).so文件编译过程问题的解决
- ffmpeg库在windows下编译出现无法链接的问题的解决方法
- 从ffmpeg源代码分析如何解决ffmpeg编码的延迟问题
- 如何在sublime里编译latex文档(+部分不常见问题及解决办法)
- 解决ffmpeg编译后ffplay没有生成的问题
- 如何解决VS.NET中应用程序编译完后改变引用位置的问题
- 从ffmpeg源代码分析如何解决ffmpeg编码的延迟问题
- 解决ffmpeg源码不能编译ffplay问题
- 从ffmpeg源代码分析如何解决ffmpeg编码的延迟问题