1. First install the necessary dependent software, open the terminal, execute:
sudo apt-get install git libtool build-essential pkg-config autoconf
2. Download the vlc-2.2.0 source code from http://www.videolan.org/vlc/download-sources.html and store it in the/HOME/SPRING/VLC directory and unzip it:
XZ-DK Vlc-2.2.0.tar.xz tar xvf vlc-2.2.0.tar
3. Get a third-party library:
CD Vlc-2.2.0sudo apt-get BUILD-DEP VLC
4. Configure VLC, specify the installation directory for VLC/HOME/SPRING/VLC:
./configure--PREFIX=/HOME/SPRING/VLC
5. Compiling VLC:
Make
Make has an error: Avparser.c:108:9: error:implicit declaration offunction ' Avcodec_free_context ' [-werror= Implicit-function-declaration], Fix it: Open a/vlc-2.2.0/modules/packetizer/makefile file, Remove the-werror-implicit-function-declaration from the inside.
6. Run VLC to verify that everything is correct:
./VLC
7. Install VLC (optional):
Make install
Reference: https://wiki.videolan.org/UnixCompile/
Ubuntu14.04 32-bit compile VLC2.2.0 source code operation steps