阅读445 返回首页    go 阿里云 go 技术社区[云栖]


ffmpeg yasm not found, use --disable-yasm for a crippled build

原文:https://blog.csdn.net/ustcxjt/article/details/7315319

yasm是汇编编译器,因为ffmpeg中为了提高效率用到了汇编指令,比如MMX和SSE。解决这个问题方面有两个:
1、在网上下载一个yasm.exe并安装在mingw/bin下面,编译代码时你注意看,会发现asm后缀的文件用的编译器是yasm,c文件用的是gcc;

2、不使用汇编指令,在配置时加上,即./configure  --disable-yasm


yasm下载地址:https://yasm.tortall.net/Download.html

下载yasm-1.2.0-cygwin.exe

改名后放到cygwin/bin下



最后更新:2017-04-02 17:09:26

  上一篇:go 把数字格式化为货币字符串 NumberFormat
  下一篇:go android 加载图片轻松避免OOM(out of memory)