【问题标题】:compiling ffmpeg for iPhone SDK 4.3 [error: is unable to create an executable file.]为 iPhone SDK 4.3 编译 ffmpeg [错误:无法创建可执行文件。]
【发布时间】:2012-02-12 13:36:42
【问题描述】:

像许多其他人一样.. 我正在使用气体预处理器编译 ffmpeg

http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-October/077701.html

这是我的命令

./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 --as='gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk --enable-cross-compile --target-os=darwin --arch=arm7 --cpu=cortex-a8 --enable-pic

错误:

/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 is unable to create an executable file.
C compiler test failed.

我使用Finder 查找了/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ 文件夹。 arm-apple-darwin10-gcc-4.2.1 在那里..

谢谢, 苏哈斯

【问题讨论】:

    标签: iphone objective-c sdk ffmpeg


    【解决方案1】:

    猜;尝试将编译器切换到 llvm(但不是 gas)。

    【讨论】:

      猜你喜欢
      • 2021-04-11
      • 1970-01-01
      • 1970-01-01
      • 2013-09-24
      • 2012-05-08
      • 1970-01-01
      • 2013-07-03
      • 2021-04-23
      • 2019-02-03
      相关资源
      最近更新 更多