|
From: | Timothy Gu |
Subject: | Re: [Mingw-cross-env-list] SDL2 refuses to build |
Date: | Tue, 29 Apr 2014 18:07:07 -0700 |
Hi,
You can do
make sdl2 sdl2_ttf sdl2_image sdl2_mixer sdl2_net TARGET=i686-w64-mingw32.static
to build 32-bit static SDL2. If you want a 64-bit build, substitute x86_64 in place of i686. See http://htmlpreview.github.io/?https://github.com/mxe/mxe/blob/master/index.html#tutorial
mingw-w64 is a fork of MinGW (i686-pc-mingw32, the default) that aims to support 64-bit *in addition* to 32-bit.
So:
i686-pc-mingw32 is 32-bit MinGW.
i686-w64-mingw32 is 32-bit mingw-w64.
x86_64-w64-mingw32 is 64-bit mingw-w64.
Regards,
Timothy Gu
----
Sent from my Nexus 7.
Whoops. This may sound a little foolish, but how do I change the target, and what are the differences between the two mingw64 targets?On Tue, Apr 29, 2014 at 3:09 PM, M. Gerhardy <address@hidden> wrote:
Your selected targets dont support building sdl2.you need a mingw64 target for that.
Am 29.04.2014 22:00 schrieb "Old Man" <address@hidden>:The dependencies, however, are built successfully.I'm trying to compile SDL2 from the latest master branch of MXE (cdcd611b1daf538bce2ba02663a2c7c61f67b4b0).Everything seems to build successfully, but SDL2 and it's relatives (_mixer, _image, _ttf, _net), are not built at all.
Here's the output from the commandline (after removing the dummy files in the installed folder):
address@hidden:/opt/mxe2# make sdl2 sdl2_ttf sdl2_image sdl2_mixer sdl2_net
[target] i686-pc-mingw32.static with 5 goals from command line
[no-build] sdl2
[no-build] sdl2_ttf
[no-build] sdl2_image
[no-build] smpeg2
[no-build] sdl2_mixer
[no-build] sdl2_netThe logfiles are all similar to the following (for SDL2)
make[1]: Entering directory `/opt/mxe2'
touch '/opt/mxe2/usr/i686-pc-mingw32.static/installed/sdl2'
make[1]: Leaving directory `/opt/mxe2'Any advice with the current situation is much appreciated.
--Regards,
oldtopman
--Regards,
oldtopman
[Prev in Thread] | Current Thread | [Next in Thread] |