Hi everyone,
I'm working on a project which is going to use VLC as the base, but I'm running into problems compiling for Windows. I'm trying to compile it for 64-bit Win7 using Ubuntu 14.04 inside Virtual Box. I've been following the instructions here https://wiki.videolan.org/Win32Compile/, but I keep running into problems when running make.
When I build using i686-w64-mingw32 or x86_64-w64-mingw32 I get an error saying it cannot locate idna.h. Both libidn11 & libidn11-dev are installed already, and the headers live in /usr/include. I did some searching and found people suggesting copying the headers into the VLC folder, and while that makes the error go away, I get another error saying it can't find -lidn -ldbus-1 or -lrt. Another post suggested copying libidn.so, libdbus-1.so and librt.so from /usr/lib, but I can't find them. I'm new to linux and building VLC, but I'm assuming those libraries are not being built during the process. Is there a way to build them?
I have also tried building using the triple i586-mingw32msvc, but it gives me an error saying I need the 32-bit version of luac. I remember reading that the 64-bit luac installed with Ubuntu can't output 32-bit bytecode. Is there a way around this?
I downloaded the contrib files for each of the triples, but I have no idea how to use them.
If anybody has any idea of how to fix these issues I would be greatly appreciative!
Thanks,
-Adam
TL;DR:
Compiling for Win7 under Ubuntu
i686-w64-mingw32 and x86_64-w64-mingw32 can't find idna.h
i586-mingw32msvc needs the 32-bit version of luac
How do you use the contribs?