在gentoo上编译mplayer

本文发布时间: 2019-Mar-22
svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer生成makefile文件./configure --prefix=/usr/local/mplayer提示下载ffmpeg,那就下载安装yasmgit clone https://github.com/yasm/yasm.git编译安装ffmpeg./configure --enable-shared --prefix=/usr/local/ffmpegmake && make install设置环境变量export C_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/local/ffmpeg/includeexport CPLUS_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/local/ffmpeg/includeexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/ffmpeg/lib然后在mplayer目录下make在编译过程出错,提示没找到libavcodec/opt.h这个文件,find /usr/local/ffmpeg/include -name opt.h 发现在libavutil目录下难不成我还需要修改源码不成?想想都头疼。抽空再说吧。


(以上内容不代表本站观点。)
---------------------------------


2019-Mar-25 01:02am
栏目列表