gpt4 book ai didi

安装FFmpeg时gcc无法创建可执行文件

转载 作者:行者123 更新时间:2023-12-01 22:16:38 27 4
gpt4 key购买 nike

我尝试直接从源安装 FFmpeg,但不断收到此错误:

gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
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.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.

有人可以帮忙吗?另外,yum install ffmpeg 不起作用。

最佳答案

显然,以我掌握的有限信息,你至少需要安装gcc来编译ffmpeg。请参阅How to Compile FFmpeg on CentOS以获得指示。它是为 CentOS 设计的,但也应该适用于 RHEL 和 Fedora。

或者,您可以简单地使用 static build of ffmpeg而不是编译,但它不具备编译提供的定制优势。

请注意,Stack Overflow 仅限于编程问题和讨论。

关于安装FFmpeg时gcc无法创建可执行文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14589114/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com