zoukankan      html  css  js  c++  java
  • 搭建Mingw64环境并使用git管理ffmpeg

    mingw64工具链:

    http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/sezero_4.5_20111101/mingw-w32-bin_i686-mingw_20111101_sezero.zip/download

    1. 解决git下载后common.mak138错误:(参考:http://blog.csdn.net/tttyd/article/details/8824345)

    git config --global core.autocrlf false
    #然后运行下面的命令删除ffmpeg代码,并重新获取一下即可
    git rm --cached -r .
    git reset --hard

    2.解决atom.c的问题:libavutil/atomic.c:101:2: error: #error "Threading is enabled, but there is no implementation of atomic operations available"

    在配置的时候加上 --cpu=i686 或者使用mingw64代替Mingw来编译ffmpeg

    参考:http://comments.gmane.org/gmane.comp.video.ffmpeg.devel/161098

    3.使用git pull命令来更新代码

    作者:ohmytime
    出处:http://www.cnblogs.com/ohmytime/
    若标题中有“转载”字样,则本文版权归原作者所有。若无转载字样,本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

  • 相关阅读:
    JavaScript中弧度和角度的转换
    HTML <meta> Attribute
    rel 属性<small>H5保留属性</small>
    React学习笔记
    React学习笔记
    jQuery插件制作
    jQuery ajax
    js数据存贮之数组与json
    列表与表格的一些学习
    18-10-16学习内容总结
  • 原文地址:https://www.cnblogs.com/ohmytime/p/3074048.html
Copyright © 2011-2022 走看看