Page 1 of 1

mingw32 cross compile problem with configure.sh

Posted: 26 Jun 2012 21:42
by skuda
Hi!,
i have been following this guide http://wiki.videolan.org/Win32Compile to cross compile in my Arch Linux 64bits, when i try to "make" after ../extras/package/win32/configure.sh --host=i486-mingw i get compile errors related to the incorrect autodetection configure do in my computer, first it tried to compile with gnomevfs, later jack, dc1394, mtp, pulse, alsa, etc.. i have changed the configure.sh adding:

--disable-gnomevfs
--disable-jack
--disable-dc1394
--disable-mtp
--disable-dv1394
--disable-libproxy
--disable-pulse
--disable-alsa

But now i am stuck with this:

In file included from ../../../extras/package/win32/../../../modules/access/dtv/bdagraph.cpp:34:0:
../../../extras/package/win32/../../../modules/access/dtv/bdagraph.hpp:29:20: fatal error: wtypes.h: No such file or directory
compilation terminated.
make[5]: *** [libbda_la-bdagraph.lo] Error 1

That i don't know even how to disable, should not be detecting correctly the capabilities the configure.sh to cross compile? Thanks!

Regards,
Miguel Angel.

Re: mingw32 cross compile problem with configure.sh

Posted: 27 Jun 2012 07:14
by nkoriyama

Re: mingw32 cross compile problem with configure.sh

Posted: 27 Jun 2012 09:09
by skuda
I tried to use mingw-w64 before but the one included in Arch Linux it is the stable 2.0.3, not the 3.0 needed by VLC as minimum, so in the meantime i would like to use mingw32 for what i have 3.20 version of the runtime.

Re: mingw32 cross compile problem with configure.sh

Posted: 27 Jun 2012 12:12
by skuda
Don't mind, i wanted to cross-compile vlc to to get the files of the libvlc needed to cross compile a Qt program that uses libvlc from Linux to Windows but i have downloaded the ones included in the zip distribution of VLC and worked so i don't need to cross compile it after all. Thanks!