我正在尝试直接从源代码安装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.
Run Code Online (Sandbox Code Playgroud)
有人可以帮忙吗?另外,yum install ffmpeg不起作用。
显然,以我所掌握的有限信息,你至少需要安装gcc才能编译ffmpeg。有关说明,请参阅如何在 CentOS 上编译 FFmpeg。它是为 CentOS 设计的,但也适用于 RHEL 和 Fedora。
或者,您可以简单地使用ffmpeg 的静态构建而不是编译,但它不具有编译提供的自定义优势。
请注意,Stack Overflow 仅限于编程问题和讨论。
| 归档时间: |
|
| 查看次数: |
11354 次 |
| 最近记录: |