网上很多是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
<span style="font-family: Arial, Helvetica, sans-serif;">sudo apt-get install autoconf  automake  libtool</span>
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 nvlcTo 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 在ubuntu 14下的linux版本编译相关推荐

  1. kodi linux版本,如何在 Ubuntu 14.04 和 Linux Mint 17 中安装 Kodi14(XBMC)

    Kodi,原名就是大名鼎鼎的XBMC,发布了开发代号为Helix的最新版本14.感谢官方XMBC提供的PPA,现在可以很简单地在Ubuntu 14.04中安装了. 有些人可能还不了解Kodi,它是一个 ...

  2. Ubuntu环境下基于Linux进行DOL配置

    Ubuntu环境下基于Linux进行DOL配置 Description The distributed operation layer (DOL) is a framework that enable ...

  3. 记录下 QT Linux 静态编译遇到的坑

    记录下 QT Linux 静态编译遇到的坑 记录下 QT Linux 静态编译遇到的坑 - 貘吃馍的日志 - 网易博客 http://qbaok.blog.163.com/blog/static/10 ...

  4. linux查看linux版本,内核版本,系统位数,gcc版本,Ubuntu下查看linux版本,内核版本,系统位数,gcc版本...

    转自:http://www.cnblogs.com/nucdy/p/5447722.html 1. 查看linux版本 sunny@ubuntu:~$cat /etc/issue Ubuntu 11. ...

  5. 安装Ubuntu 14.04系统Linux微信开发工具的笔记

    安装Ubuntu 14.04系统&微信开发工具的笔记 Ubuntu 14.04系统所需硬件配置低,我所使用的1.9GRAM笔电上正是安装的此系统. 最近因为崩溃重装了一次,并接着安装了linu ...

  6. 解决Ubuntu 14下,PhpStorm 9.x 编辑器界面中文乱码的问题

    在Ubuntu 14中,安装了 PhpStorm 9.02,发现 软件界面中文乱码,但是源码编辑处却显示正常,如下图所示: 很奇怪,猜想,应该是软件界面字体有问题,选了一个没有包含中文字体的字体.先前 ...

  7. 【虚幻引擎】UE4 Windows下打包Linux版本的包

    B站教学链接:https://space.bilibili.com/449549424?spm_id_from=333.1007.0.0 一.下载Linux版本的工具链 首先上官网下载对应版本的工具链 ...

  8. Python 基础之在ubuntu系统下安装双版本python

    前言:随着python升级更新,新版本较于老版本功能点也有不同地方,作为一个初学者应该了解旧版本的规则,也要继续学习新版本的知识.为了能更好去学习python,我在ubuntu安装python2和py ...

  9. 1)vmware station 14下安装linux系统

    vmware station 14 pro官方传送门: https://my.vmware.com/en/web/vmware/info/slug/desktop_end_user_computing ...

最新文章

  1. 交叉分解+Cross decomposition
  2. Alpine Linux 3.9.1 发布,面向安全的轻量级 Linux 发行版
  3. 核心交换机的链路聚合、冗余、堆叠、热备份
  4. mysql-5.7.21-winx64.zip 下载安装
  5. CodeForces - 801C Voltage Keepsake(二分)
  6. PJSIP学习笔记——PJSUA层发起呼叫的主要流程
  7. Online Judge System
  8. 实验linux下的编程,实验四 Linux下的C语言编程;
  9. 自己动手写处理器之第一阶段(3)——MIPS32指令集架构简单介绍
  10. SwipeRefreshLayout + RecyclerView 实现 上拉刷新 和 下拉刷新
  11. win10音响左右声道测试软件,win10左右声道不分的三种解决方法【图文】
  12. 台式计算机安装无线网卡驱动程序,台式电脑无线网卡驱动程序怎么安装
  13. c语言中的output用法,OUTPUT 子句
  14. MyBatis-Spring(五)--MapperScannerConfigurer实现增删改查
  15. redhat 复制文件夹及子文件夹_linux如何复制文件夹和移动文件夹
  16. 由浅入深玩转华为WLAN—10安全认证配置(3)无线dot1 PEAP认证,基于微软IAS服务器
  17. 2020.10.29腾讯QQ音乐社招前端电话一面总结
  18. Android中根据dialog的展示与否控制软键盘的显示与隐藏
  19. Github 首页美化教程 —— 美,是第一生产力
  20. 安卓逆向小案例——某map搜索接口【rpc调用】

热门文章

  1. leaflet-webpack 入门开发系列二加载不同在线地图切换显示(附源码下载)
  2. leaflet 结合 Echarts4 实现散点图(附源码下载)
  3. 【JAVA 第三章 流程控制语句】课后习题 三角形面积计算
  4. Docker 部署clickhouse-server及添加用户配置密码
  5. 【详细说明】nginx反向代理wss websocket
  6. 【HTML】表单练习
  7. 【CSS】学习笔记1 使用CSS样式表
  8. C#LeetCode刷题-链表
  9. C#LeetCode刷题-数组
  10. dockerfile写法和docker-compose和docker-compose.yml