mingw32 cross compile problem with configure.sh

This forum is about all development around libVLC.
skuda
New Cone
New Cone
Posts: 8
Joined: 26 Jun 2012 21:34

mingw32 cross compile problem with configure.sh

Postby skuda » 26 Jun 2012 21:42

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.

nkoriyama
Cone that earned his stripes
Cone that earned his stripes
Posts: 338
Joined: 01 Sep 2011 20:50
VLC version: git
Operating System: Windows / Mac OS X
Location: Japan

Re: mingw32 cross compile problem with configure.sh

Postby nkoriyama » 27 Jun 2012 07:14

How To Ask Questions The Smart Way http://www.catb.org/~esr/faqs/smart-questions.html
My hack for ISDB-T http://sdrv.ms/126weue

skuda
New Cone
New Cone
Posts: 8
Joined: 26 Jun 2012 21:34

Re: mingw32 cross compile problem with configure.sh

Postby skuda » 27 Jun 2012 09:09

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.

skuda
New Cone
New Cone
Posts: 8
Joined: 26 Jun 2012 21:34

Re: mingw32 cross compile problem with configure.sh

Postby skuda » 27 Jun 2012 12:12

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!


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 4 guests