ubuntu16编译vlc2.2.8



时间  2018/01/30 18:07

编译从零开始

1. 下载源码
解压   xz -d ***.tar.xz

2. 检查配置并生成生成configure文件
./bootstrap  根据configure.ac 生成 configure 
Successfully bootstrapped

3.  检查配置并生成makefile
./configure
libvlc configuration
--------------------
version               : 2.2.8
system                : linux
architecture          : x86_64 mmx sse sse2
optimizations         : yes
vlc aliases           : cvlc rvlc qvlc

To build vlc and its plugins, type `make', or `./compile' if you like nice colors.
4. 开始编译
make 或者 ./compile


各种错误

找不到lua
sudo apt-get install luac  lua5.2 liblua5.2-dev

找不到libmad
wget http://downloads.sourceforge.net/mad/libmad-0.15.1b.tar.gz
sed -i '/-fforce-mem/d' configure &&
./configure --prefix=/usr &&
make

No package 'libavcodec' found
sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libavutil-dev

Could not find liba52 on your system
sudo apt-get install liba52-dev

No package 'alsa' found
 sudo apt-get install libalsa-ocaml-dev 

找不到 libgcrypt
sudo apt-get install libgcrypt11-dev

You cannot build VLC with Qt-5.5.0. You need to backport
在configure.ac文件中注释这一行,重新生成configure


相关资料

常见下载

下载源码

wiki获取源码帮助

获取源码

获取稳定版源码,只下载









评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值