Cross compilation problem with Mingw-w64

This forum is about all development around libVLC.
Victorzinho
New Cone
New Cone
Posts: 2
Joined: 11 Sep 2012 12:25

Cross compilation problem with Mingw-w64

Postby Victorzinho » 11 Sep 2012 12:50

Hi all,

I've been trying to compile VLC for Windows using the wiki instructions [1] but I am getting the following error while performing make:

Code: Select all

... 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. ...
I've checked [2] but it didn't solve my problem. I'm currently using the Mingw-w64 toolchain experimental version 3.0, as suggested in [3], so I'm specifying the host triplet i686-w64-mingw32 when needed. I also managed to compile the Linux binaries without any problem, so I guess the dependencies are correct. My OS is a Ubuntu 12.04 32 bits and wtypes.h is present on my system:

Code: Select all

$ locate wtypes.h /usr/i686-w64-mingw32/include/wtypes.h /usr/x86_64-w64-mingw32/include/wtypes.h
I've uploaded the config.log file to [4] (no option for attachments?), just in case it would be of any help. Is there any way to specify the location of the wtypes.h include dir to the compiler? Am I doing anything else wrong? Any help would be greatly appreciated.

Best regards,
Víctor.

-----

[1] Win32Compile - http://wiki.videolan.org/Win32Compile
[2] mingw32 cross compile problem with configure.sh - viewtopic.php?f=32&t=102059
[3] Win32Compile -- configure error using Ubuntu 12.04 - viewtopic.php?f=32&t=101489
[4] config.log - http://dl.dropbox.com/u/62764853/config.log

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: Cross compilation problem with Mingw-w64

Postby nkoriyama » 11 Sep 2012 15:25

Code: Select all

configure:6670: checking for i686-w64-mingw32-g++ configure:6700: result: no
This is an answer.

If your system has i686-w64-mingw32-g++, config.log looks like the following:

Code: Select all

configure:6680: checking for i686-w64-mingw32-g++ configure:6696: found /Users/nkoriyama/mingw/mingw-w64/bin/i686-w64-mingw32-g++ configure:6707: result: i686-w64-mingw32-g++ configure:6778: checking for C++ compiler version configure:6787: i686-w64-mingw32-g++ --version >&5 i686-w64-mingw32-g++ (GCC) 4.7.1 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
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

Victorzinho
New Cone
New Cone
Posts: 2
Joined: 11 Sep 2012 12:25

Re: Cross compilation problem with Mingw-w64

Postby Victorzinho » 12 Sep 2012 09:08

Hi,

Yes, that was it. I couldn't see that among all the other stuff in the config log, shame on me. Thanks a lot.

Regards,
Víctor.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 6 guests