vlc-1.0.5在ubuntu上的编译(一)

本文记录了在Ubuntu上编译VLC-1.0.5过程中遇到的问题,包括libmad、libavcodec等库的缺失,以及编译后的运行时错误,如接口模块匹配失败、共享库加载错误等,并提供了相应的解决办法。

因为工作的需要,最近在看编码/解码相关的东西。videoLan是一项开源项目,是极好的研究编码/解码的对象。

于是下载源码,编译。一心以为很快就可以成功,没想到整了一天,都没有正常运行起来。但是编译过程中遇到的问题都记录

了一遍,贴出来给大家分享。

 

 编译选项:

./configure --disable-nls --disable-mozilla --disable-postproc --disable-a52 --disable-qt4 --disable-skins2

问题1.configure: error: Could not find libmad on your system: you may get it from http://www.underbit.com/products/mad/. Alternatively you can use --disable-mad to disable the mad plugin.

问题2.configure: error: Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.
解决方法: sudo apt-get install libavcodec-dev

问题3configure: error: Please install GL development package. Alternatively you can also configure with --disable-glx
解决方法:sudo apt-get install mesa-common-dev mesademos libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev

问题4.configure: error: Could not find libmad on your system: you may get it from http://www.underbit.com/products/mad/. Alternatively you can use --disable-mad to disable the mad plugin.

问题5.configure: error: Could not find libpostproc. Use --disable-postproc to ignore this error.

问题6:mod.c: 在函数‘Control’中:
mod.c:321: 警告: 从类型为‘mtime_t’的函数调用转换到不匹配的类型‘double’
mod.c:370: 错误: 隐式声明函数‘ModPlug_NumSampl

评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值