Ubuntu14.04 32位上编译VLC2.2.0源码操作步骤
2015-04-03 16:31
330 查看
1. 首先安装必须的依赖软件,打开终端,执行:
6. 运行VLC,验证是否一切正确:
参考:https://wiki.videolan.org/UnixCompile/
sudo apt-get install git libtool build-essential pkg-config autoconf2. 从http://www.videolan.org/vlc/download-sources.html 下载vlc-2.2.0源码,将其存放到/home/spring/VLC目录下,解压缩:
xz -dk vlc-2.2.0.tar.xz tar xvf vlc-2.2.0.tar3. 获取第三方库:
cd vlc-2.2.0 sudo apt-get build-dep vlc4. 配置VLC,指定VLC的安装目录/home/spring/VLC:
./configure --prefix=/home/spring/VLC5. 编译VLC:
makemake的时候有一处错误:avparser.c:108:9: error:implicit declaration offunction ‘avcodec_free_context’[-Werror=implicit-function-declaration] ,解决方法是:打开/vlc-2.2.0/modules/packetizer/Makefile文件,把里面的-Werror-implicit-function-declaration删除掉可。
6. 运行VLC,验证是否一切正确:
./vlc7. 安装VLC(可选):
make install
参考:https://wiki.videolan.org/UnixCompile/
相关文章推荐
- Ubuntu14.04 32位上编译VLC2.2.0源码操作步骤
- 在Ubuntu14.04 64位上编译CMake源码操作步骤
- Ubuntu14.04上编译指定版本的protobuf源码操作步骤
- 在Ubuntu14.04 64位上编译CMake源码操作步骤
- 64位Ubuntu上编译32位程序操作步骤
- Ubuntu14.04 LTS中安装Ruby 2.4源码操作步骤
- Ubuntu14.04环境编译vlc源码for安卓Android系统
- 基于Ubuntu14.04 64位系统编译vlc-android源码
- ubuntu14.04交叉编译vlc2.1.5源码,编译出在win32下运行的程序
- ubuntu14.04交叉编译vlc2.1.5源码,编译出在win32下运行的程序
- Ubuntu14.04环境编译vlc源码for安卓Android系统
- 64位Ubuntu上编译32位程序操作步骤
- ubuntu14.04交叉编译vlc2.1.5源码,编译出在win32下运行的程序
- ubuntu14.04交叉编译vlc2.1.5源码,编译出在win32下运行的程序
- ubuntu 11.10(32位)下android2.2 源码编译
- 32位Ubuntu 11.10下android2.3.7源码下载与编译小结
- 32位Ubuntu 11.10下android2.3.7源码下载与编译小结
- 32位ubuntu系统升级为64位系统,然后编译4.3android源码 很顺利很成功
- ubuntu下编译安装xcache for php5.3 的具体操作步骤
- ubuntu 11.10(32位系统)下编译android源码