vlc linux静态版本,vlc 在ubuntu 14下的linux版本编译
网上很多是vlc for android的编译步骤,这边是linux的编译步骤:
1 下载vlc for linux:
https://github.com/videolan/vlc
这里用github下载最新的zip包
2 生成makefile 和配置文件
work01@ubuntu:~/vlc_source_debug/vlc-master$ ./bootstrap
报错1:
NOTE: GNU gettext appears to be missing or out-of-date.
Please install or update GNU gettext.
Also check if you have cvs, a dependency of autopoint.
Otherwise, you will not be able to build a source tarball.
==============================================================
generating modules/**/Makefile.am
.................
+ autoreconf --install --force --verbose -I m4
./bootstrap: line 78: autoreconf: command not found
解决:
.1
sudo apt-get install gettext
sudo apt-get install cvs
sudo apt-get install autoconf automake libtool
work01@ubuntu:~/vlc_source_debug/vlc-master$ ./bootstrap
NOTE: GNU gettext appears to be missing or out-of-date.
Please install or update GNU gettext.
Also check if you have cvs, a dependency of autopoint.
Otherwise, you will not be able to build a source tarball.
==============================================================
generating modules/**/Makefile.am
.................
+ autoreconf --install --force --verbose -I m4
autoreconf: Entering directory `.'
autoreconf: running: true --force
autoreconf: running: aclocal -I m4 --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autotools'.
libtoolize: copying file `autotools/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --include=m4 --force
autoreconf: running: /usr/bin/autoheader --include=m4 --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:55: installing 'autotools/compile'
configure.ac:23: installing 'autotools/config.guess'
configure.ac:23: installing 'autotools/config.sub'
configure.ac:27: installing 'autotools/install-sh'
configure.ac:27: installing 'autotools/missing'
parallel-tests: installing 'autotools/test-driver'
bin/Makefile.am: installing 'autotools/depcomp'
autoreconf: Leaving directory `.'
+ rm -f po/Makevars.template
+ rm -f 'stamp-h*'
+ set +x
Successfully bootstrapped
3 配置环境:
work01@ubuntu:~/vlc_source_debug/vlc-master$ ./configure --prefix=/mnt/share/vlc报错1:
configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.
解决:
sudo apt-get install lua5.1 liblua5.1-dev
报错2:
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.
报错3:
configure: error: No package 'libavcodec' found
No package 'libavutil' found. Pass --disable-avcodec to ignore this error.
解决上诉各种丢失开发包问题:
sudo apt-get build-dep vlc
最后如下:
libvlc configuration
--------------------
version : 3.0.0-git
system : linux
architecture : x86_64 mmx sse sse2
optimizations : yes
vlc aliases : cvlc rvlc qvlc svlc nvlc
To build vlc and its plugins, type `make', or `./compile' if you like nice color
4 编译:
./compile
编译结果如下:
bindir="/mnt/share/vlc/bin" transform="s,x,x," program_prefix="" program_suffix="" ./make-alias cvlc dummy
bindir="/mnt/share/vlc/bin" transform="s,x,x," program_prefix="" program_suffix="" ./make-alias rvlc rc
bindir="/mnt/share/vlc/bin" transform="s,x,x," program_prefix="" program_suffix="" ./make-alias qvlc qt4
bindir="/mnt/share/vlc/bin" transform="s,x,x," program_prefix="" program_suffix="" ./make-alias svlc skins2
bindir="/mnt/share/vlc/bin" transform="s,x,x," program_prefix="" program_suffix="" ./make-alias nvlc ncurses
目录在配置的时候已经设定好了:
'
ref:
http://blog.csdn.net/vblittleboy/article/details/12905251
vlc linux静态版本,vlc 在ubuntu 14下的linux版本编译相关推荐
- kodi linux版本,如何在 Ubuntu 14.04 和 Linux Mint 17 中安装 Kodi14(XBMC)
Kodi,原名就是大名鼎鼎的XBMC,发布了开发代号为Helix的最新版本14.感谢官方XMBC提供的PPA,现在可以很简单地在Ubuntu 14.04中安装了. 有些人可能还不了解Kodi,它是一个 ...
- vlc 在ubuntu 14下的linux版本编译
网上很多是vlc for android的编译步骤,这边是linux的编译步骤: 1 下载vlc for linux: https://github.com/videolan/vlc 这里用githu ...
- Linux系统编程及应用——ubuntu环境下
Linux系统编程及应用--ubuntu环境下 程序由业务逻辑和系统访问两部分构成的.其中,业务逻辑是根据业务需求,按照设计好的逻辑规则,处理信息,与系统(平台)无关的:而系统访问则是利用操作系统所提 ...
- Ubuntu环境下基于Linux进行DOL配置
Ubuntu环境下基于Linux进行DOL配置 Description The distributed operation layer (DOL) is a framework that enable ...
- linux桌面服务器系统下载,Ubuntu 14.10 中文桌面版/服务器正式版下载
一说到 Linux,就不得不提目前最红火的 Ubuntu 发行版了!它拥有绚丽的界面,甚至跟以时尚为卖点的 Mac OSX 相比也有过之而无不及,相信当你试过这款操作系统之后,你会对 Linux 的印 ...
- ubuntu 改linux密码忘了怎么办,Ubuntu 14.04忘记root密码的解决方法
电脑20多天没用,忘记Ubuntu 14.04 root密码了,下面是在网上找到的一个解决办法,其它的和这个也大概相同.因为其中有些缺漏,没能给我解决问题.通过分析最终问题还是解决了,现解决方案的关键 ...
- linux qt4 音乐播放器,Ubuntu 14.04下安装音乐播放器 Clementine 1.2.3
Clementine 是一款非常不错的自由开源音乐播放器,支持很多国外的云空间,比如box.com.Clementine使用qt4编写,灵感来自Amarok 1.4.Clementine还是一款跨平台 ...
- 安装Ubuntu 14.04系统Linux微信开发工具的笔记
安装Ubuntu 14.04系统&微信开发工具的笔记 Ubuntu 14.04系统所需硬件配置低,我所使用的1.9GRAM笔电上正是安装的此系统. 最近因为崩溃重装了一次,并接着安装了linu ...
- linux中文系统装offci,Ubuntu 14.04 LTS中安装fcitx中文输入法的教程
Ubuntu 14.04 LTS中自带的iBus输入法有多么的难用,这个不用我来说,今后你会看到各种吐嘈会像滔滔江水连绵不绝的.这里我们不抱怨,我们自己来着手解决中国人自己的Linux中文输入法问题. ...
- linux命令行安装libxml,Ubuntu 14.04下libxml2的安装和使用
Ubuntu 14.04下libxml2库的安装方法: sudo apt-get install libxml2 sudo apt-get install libxml2-dev 利用以上命令安装完软 ...
最新文章
- php团队规范,简单的PHP团队编程规范与习惯
- Python编程语言学习:for循环中常用方法经验技巧(利用enumerate函数对列表实现自带索引等)之详细攻略
- 微前端在网易七鱼的实践
- 数组任意取三个数中乘积最大值
- Helm 3 完整教程(二十一):Helm 创建和引用子模板
- cisco 模拟器安装及交换机的基本配置实验心得_看完这份1113页的TCP/IP协议+路由与交换机,成功上岸字节跳动...
- 测试linux内核工具,多种测试linux内核的方法
- 启动多个SlickEdit实例
- iOS 强制屏幕旋转
- 高精度地图Lanelet的基本结构
- 性能测试模型之曲线拐点模型——压力曲线分析图
- HyperLedger Fabric 查询机制
- 2000门课程名称翻译大全,写英文简历时用得着的
- 我的家用户外监控摄像头的选购和安装记录
- 第八章 高级搜索树 (b4)B-树: 插入
- Unexpected Exception caught setting '' on 'class com.: Error setting expression '' with value ['', ]
- 算力网络发展中的若干关键技术问题分析
- 李子柒:不希望年轻人当网红...
- RxJava过滤操作符
- STC89C52的四个 外部中断 基本使用方法
热门文章
- 《XHTML》pdf
- 怎么快速了解自己的MySQL服务器
- freemarker 标签循环list 以及获取下标值
- 动态规划时间复杂度_算法分析与设计之动态规划
- 【数据分享】学生受欢迎程度评价数据集
- 拓端tecdat|基于keras平台CNN神经网络模型的服装识别分析
- python np数组中括号里面‘:n‘与‘n:‘什么意思
- Android入门笔记06
- 基于移动最小二乘的图像变形
- Caffe中deploy.prototxt 和 train_val.prototxt 区别