庞大的vlc看源码需要一个工具,选择QtCreator还是不错的
1. 首先是vlc源码编译通过,
2. 源码一定要编译成debug可调式版本才能被QtCreator使用
在编译通过的版本上复制新的版本,
cp vlc-2.1.5 vlc_Debug2.1.5
cd vlc_Debug2.1.5
./configure --enable-debug
3.执行的过程中会出现很多问题.一般都是缺少库文件,下载就可以了,解决如下
configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts.
=》sudo apt-get install lua5.1 liblua5.1-dev
configure:error: Could not find libmad on your system: you may get it fromhttp://www.underbit.com/products/mad/.
=》sudo apt-get install libmad0-de