Ubuntu14.04 32-bit compile VLC2.2.0 source code operation steps

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.