iOS-FFmpeg5.0编译报错xcrun -sdk iphoneos clang is unable to create an executable file.

以前编译过FFmpeg4.3.1,会生成FFmpeg-iOS,文件夹,FFmpeg新版本5.0出来之后,打算编译一个iOS-FFmpeg5.0的版本

按照以前的做法,运行脚本

./build-ffmpeg.sh

arm64运行完了正常结果到了ARMv7就一直报错,报的下面这个错误


building armv7...

xcrun -sdk iphoneos clang is unable to create an executable file.

C compiler test failed.

If you think configure made a mistake, make sure you are using the latest

version from Git.  If the latest version fails, report the problem to the

ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.

Include the log file "ffbuild/config.log" produced by configure as this will help

solve the problem.



网上搜了好多都是说这个问题,按照这个来操作我的是没有报错的,我就确定不是这个原因了




,后面看到报错日志这句话,Include the log file "ffbuild/config.log" produced by configure as this will help

solve the problem.然后去到scratch/armv7/ffbuild文件夹里面看config.log日志发现,画红框的地方是重点,以为FFmpeg5.0以上要求iOS13,然后armv7架构支持的最高iOS系统是iOS10.0,一直报错,所以看日志最终找到了错误,所以FFmpeg5.0是没法编译armv7架构的了

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容