[vlc-devel] Problems cross compiling to windows according to Win32Compile

Timothy Gu timothygu99 at gmail.com
Thu Jul 24 23:20:05 CEST 2014


On Jul 24, 2014 1:32 PM, "David R. Robison" <
david.robison at openroadsconsulting.com> wrote:
>
> OK, I'm starting over with a fresh Ubuntu install and following the
> documentation for compiling VLC on Windows to the tee.
>
> When I get to the configure stage, I get the error:
>
> configure: error: LibVLC requires mingw-runtime version 3.15 or higher,
> or mingw-w64 version 3.0 or higher!
>
> I assume I need to apt-get install mingw-w63 since I am building for
> Windows 64. Correct?

You need to check config.log to make sure what's missing. To summarize the
current MinGW situation, MinGW32 (i686-pc-mingw32) supports only 32-bit,
but mingw-w64 (*-w64-mingw32) supports _both_ 32- and 64-bit archs.

I would never use the MinGW toolchain from Ubuntu or any other distro,
simply because it installs into standard system directory and installing
MinGW libs to system locations is a pain.

I would either use MXE (http://mxe.cc) which contains build recipes for a
lot of libraries that can be used by VLC, or Zeranoe's mingw-w64 build
script (http://ffmpeg.zeranoe.com/blog/?cat=4) which produces a pristine
build environment.

Timothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140724/85869ebb/attachment.html>


More information about the vlc-devel mailing list