Instructions need update for SDL 2: extras/win32/mingw32/README.txt [MinGW incompatibility issue]

The README at extras/win32/mingw32/README.txt (as found at
http://www.libsdl.org/extras/win32/mingw32/README.txt) should receive
an update on WHERE to get msys/mingw, and where NOT to get it. Let me
explain more thoroughly why that is relevant:

MinGW at www.mingw.org / sf.net/projects/mingw can NOT build SDL 2
programs out of the box (at least it never worked for me). The reason
is that the MinGW version is too old and the SDK doesn’t include basic
support for wbemuuid which SDL 2 needs, so the linking stage fails (if
wbemuuid isn’t retrieved from whatever place and provided).

However, the MinGW/MSYS combination from mingw-w64.sourceforge.net
DOES support wbemuuid and hence has no problems building and linking
SDL 2 programs.

The README does currently not point to a website for MinGW/MSYS.

I would therefore propose to openly suggest getting MinGW/MSYS from
the latter place, and maybe disadvise getting it from the first
(mingw.org). (For the simple reason of the one working out of the box,
and the other not)

PS: an alternative would be making SDL not require wbemuuid or poking
mingw.org people to update their packages I suppose.

2013/7/25, Jonas Thiem :

PS: an alternative would be making SDL not require wbemuuid or poking
mingw.org people to update their packages I suppose.

MinGW-w64 is a fork if I recall correctly, so technically not an
"update". And yeah, the original MinGW should be dropped in favor of
the -w64 one, the latter is way more active and up to date with
current Windows (in fact, original MinGW is missing almost all of
DirectX, save for a few headers).

That said, MinGW-w64 comes with MSYS? I thought you had to get it from
the original MinGW site? Did I miss something?

Updating the README sounds good. Would you please submit a bug with patch
to bugzilla?

Thanks!On Thu, Jul 25, 2013 at 11:09 AM, Jonas Thiem wrote:

The README at extras/win32/mingw32/README.txt (as found at
http://www.libsdl.org/extras/win32/mingw32/README.txt) should receive
an update on WHERE to get msys/mingw, and where NOT to get it. Let me
explain more thoroughly why that is relevant:

MinGW at www.mingw.org / sf.net/projects/mingw can NOT build SDL 2
programs out of the box (at least it never worked for me). The reason
is that the MinGW version is too old and the SDK doesn’t include basic
support for wbemuuid which SDL 2 needs, so the linking stage fails (if
wbemuuid isn’t retrieved from whatever place and provided).

However, the MinGW/MSYS combination from mingw-w64.sourceforge.net
DOES support wbemuuid and hence has no problems building and linking
SDL 2 programs.

The README does currently not point to a website for MinGW/MSYS.

I would therefore propose to openly suggest getting MinGW/MSYS from
the latter place, and maybe disadvise getting it from the first
(mingw.org). (For the simple reason of the one working out of the box,
and the other not)

PS: an alternative would be making SDL not require wbemuuid or poking
mingw.org people to update their packages I suppose.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

That’s weird, I had no issues compiling SDL 2 with MinGW.On Tue, Jul 30, 2013 at 9:05 AM, Sam Lantinga wrote:

Updating the README sounds good. Would you please submit a bug with patch
to bugzilla?

Thanks!

On Thu, Jul 25, 2013 at 11:09 AM, Jonas Thiem wrote:

The README at extras/win32/mingw32/README.txt (as found at
http://www.libsdl.org/extras/win32/mingw32/README.txt) should receive
an update on WHERE to get msys/mingw, and where NOT to get it. Let me
explain more thoroughly why that is relevant:

MinGW at www.mingw.org / sf.net/projects/mingw can NOT build SDL 2
programs out of the box (at least it never worked for me). The reason
is that the MinGW version is too old and the SDK doesn’t include basic
support for wbemuuid which SDL 2 needs, so the linking stage fails (if
wbemuuid isn’t retrieved from whatever place and provided).

However, the MinGW/MSYS combination from mingw-w64.sourceforge.net
DOES support wbemuuid and hence has no problems building and linking
SDL 2 programs.

The README does currently not point to a website for MinGW/MSYS.

I would therefore propose to openly suggest getting MinGW/MSYS from
the latter place, and maybe disadvise getting it from the first
(mingw.org). (For the simple reason of the one working out of the box,
and the other not)

PS: an alternative would be making SDL not require wbemuuid or poking
mingw.org people to update their packages I suppose.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I later checked and yes, indeed MSYS can be downloaded from the
MinGW-w64 page (and packaged in a much more convenient way than its
MinGW counterpart, at that). So basically it was just me missing it
the first time around.

2013/8/4, Jonas Thiem :> Well there ARE -w64 packages bundled with MSYS flying around, I got

one from some random person on IRC which was apparently created by the
mplayer devs. Tbh I just assumed they would also be on the mingw-64
homepage for download, but I never checked.

On Mon, Jul 29, 2013 at 5:38 PM, Sik the hedgehog <@Sik_the_hedgehog> wrote:

2013/7/25, Jonas Thiem :

PS: an alternative would be making SDL not require wbemuuid or poking
mingw.org people to update their packages I suppose.

MinGW-w64 is a fork if I recall correctly, so technically not an
"update". And yeah, the original MinGW should be dropped in favor of
the -w64 one, the latter is way more active and up to date with
current Windows (in fact, original MinGW is missing almost all of
DirectX, save for a few headers).

That said, MinGW-w64 comes with MSYS? I thought you had to get it from
the original MinGW site? Did I miss something?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

So with all of this info, does someone want to take a crack at updating the
README?On Sun, Aug 4, 2013 at 4:03 PM, Sik the hedgehog <sik.the.hedgehog at gmail.com wrote:

I later checked and yes, indeed MSYS can be downloaded from the
MinGW-w64 page (and packaged in a much more convenient way than its
MinGW counterpart, at that). So basically it was just me missing it
the first time around.

2013/8/4, Jonas Thiem :

Well there ARE -w64 packages bundled with MSYS flying around, I got
one from some random person on IRC which was apparently created by the
mplayer devs. Tbh I just assumed they would also be on the mingw-64
homepage for download, but I never checked.

On Mon, Jul 29, 2013 at 5:38 PM, Sik the hedgehog <sik.the.hedgehog at gmail.com> wrote:

2013/7/25, Jonas Thiem :

PS: an alternative would be making SDL not require wbemuuid or poking
mingw.org people to update their packages I suppose.

MinGW-w64 is a fork if I recall correctly, so technically not an
"update". And yeah, the original MinGW should be dropped in favor of
the -w64 one, the latter is way more active and up to date with
current Windows (in fact, original MinGW is missing almost all of
DirectX, save for a few headers).

That said, MinGW-w64 comes with MSYS? I thought you had to get it from
the original MinGW site? Did I miss something?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org