mac解决yasm/nasm not found or too old. Use --disable-yasm for a crippled build.

来源:互联网 发布:天津网络教育大学 编辑:程序博客网 时间:2024/06/08 17:02

编译ffmpeg时,出现这个报错。原因是ffmpeg使用了yasm编译指令,需要机器安装yasm插件。

解决方法非常简单,命令行输入:brew install yasm

前提是本机已经安装了brew插件,如果没有安装参考命令:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

如果是window系统或者linux系统类似错误,请参考链接:http://blog.csdn.net/liuzehn/article/details/78667877

原创粉丝点击