Skip to content

Instantly share code, notes, and snippets.

@sailfish009
Last active January 22, 2018 06:47
Show Gist options
  • Save sailfish009/66eca46ab708e7be458b856f35e1f5b4 to your computer and use it in GitHub Desktop.
Save sailfish009/66eca46ab708e7be458b856f35e1f5b4 to your computer and use it in GitHub Desktop.
https://wiki.videolan.org/Win32Compile/
## some hints:
git clone https://git.code.sf.net/p/mingw-w64/mingw-w64
sudo cp -a ./mingw-w64/mingw-w64-headers/include/* /usr/i686-w64-mingw32/include/
../configure --host=i686-w64-mingw32 --build=x86_64-linux-gnu --disable-chromecast # protoc compiler version error
mkdir ../libvlc
mkdir ../libvlc/include
mkdir ../libvlc/lib
cp -a ../include/vlc ../libvlc/include
cp -a ./lib/.libs/* ../libvlc/lib
rm ../libvlc/lib/*.o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment