GNU assembler not found, install/update gas-preprocessor

        iOS编译ffmpeg库 遇到GNU assembler not found, install/update gas-preprocessor  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 solve the problem问题。

直接上方法:下载gas-preprocessor,地址:https://github.com/libav/gas-preprocessor   下载后直接解压。将gas-preprocessor.pl复制到/usr/local/bin   然后执行命令行,chmod 777 /usr/local/bin/gas-preprocessor.pl   获得权限。

遇到的坑:下载gas-preprocessor.pl时开始在网上找到地址是  https://github.com/mansr/gas-preprocessor ,解压后文件夹中只有2个文件。然后复制获得权限之后重新编译ffmpeg库还是会遇到同样的问题,开机重启也不起作用。后来看到http://www.360doc.com/content/14/0121/16/13084517_346905472.shtml  受到启发是不是ffmpeg库版本不一样所以脚本文件也会有不同版本,所以又在网上搜解决办法,找到了不同的下载脚本地址,并尝试终于成功。对于网上说的是复制到/usr/bin 或者/usr/sbin即使使用sudo都未能成功。网上有开启权限的方法,本人不建议尝试。(出处:http://blog.csdn.net/a547720714/article/details/52678643   因为他只说了屏蔽做法,没有写开启方法,万一不能开启不就费了。)所以就复制到了/usr/local/bin  可行。只是脚本版本的问题导致没有解决。

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容