Cross-compiling libvlc records in linux mint debian

Source: Internet
Author: User
Tags linux mint

Refer to the official wiki http://wiki.videolan.org/Win32Compile from libvlc

 

1. Install mingw-w64 cross-compilation toolchain

sudo apt-get  -mingw-w64-i686 g++-mingw-w64 mingw-w64

2. Update the mingw-w64 to the latest version, otherwise the configure of libvlc will report an error, deb package: http://ftp.us.debian.org/debian/pool/main/m/mingw-w64/
  

Install the downloaded deb package. XXXX indicates the source code version.

sudo dpkg -i mingw-w64-dev_3.~svnXXXX-1_all.deb

 

3. Install git, svn, and git to check out the source code, use it during svn compilation, and use autoconf to generate configure.

 apt-get  git svn autoconf automake libtool lua5.

4. Clone vlc source code

 $ git clone git:

5. Download vlc dependent Libraries

 -p contrib///bootstrap --host=i686-w64-mingw32 --build=i686-w64- prebuilt


6. Generate configure and disable multiple languages. The compilation result will be in the vlc-xxx directory and copied to the win platform for normal operation.

$ cd -/ win32 &&/configure --host=i686-w64-mingw32  --disable- &&  package-win-common


 

Related Article

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.