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