compiler-errors - 为 FFMPEG 编译 libvpx 时出现编译错误

标签 compiler-errors ffmpeg nasm yasm libvpx

我正在我的 64 位 Ubuntu 14 机器上编译 FFMPEG。一切都编译得很好,除了 libvpx 库,它不断抛出错误:

[AS] vp9/common/x86/vp9_subpixel_8t_ssse3.asm.o
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:856: warning: label alone on a line without a colon might be in error
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:897: warning: label alone on a line without a colon might be in error
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:970: warning: label alone on a line without a colon might be in error
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:1002: warning: label alone on a line without a colon might be in error
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:340: error: invalid combination of opcode and operands
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:457: error: invalid combination of opcode and operands
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:897: error: invalid combination of opcode and operands
vp9/common/x86/vp9_subpixel_8t_ssse3.asm:1002: error: invalid combination of opcode and operands
make[1]: *** [vp9/common/x86/vp9_subpixel_8t_ssse3.asm.o] Error 1
make: *** [.DEFAULT] Error 2

我遵循了这个指南:https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
我不知道这个错误是什么意思,但是在某处读到用 NASM 编译 libvpx 被破坏了,但我不知道如何编译它。安装 1.2 或 1.1 版没有任何区别。有任何想法吗?

最佳答案

用 Yasm 编译它就可以了:

PATH="$PATH:$HOME/bin" ./configure --prefix="$HOME/ffmpeg_build" --disable-examples
PATH="$PATH:$HOME/bin" make

假设 Yasm 在主目录中编译

关于compiler-errors - 为 FFMPEG 编译 libvpx 时出现编译错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26100525/

相关文章:

java - 捕获时 ffmpeg 管道阻塞

assembly - 进位标志可以保存哪些值,以及如何在 x86 汇编中检查其状态?

r - 使用 R 包 brms 时出错

c++ - 调用显式专用类成员模板函数时出现奇怪的编译错误

android - react native 编译报错android - react-native-webview

php - 使用 CURL 在服务器中的特定文件夹中下载 MP4 视频

FFMPEG - 没有这样的过滤器 'minterpolate'

linux - 为什么 seccomp 禁止我正常的系统调用

gcc - 无法找到 crtn.o,在 64 位系统上链接 32 位代码

c++ - 模板错误 : nontype ".. [with T=T] is not a type name"