| Summary: | Failure to build with MinGW-w64 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Cameron Hall <cameronghall> |
| Component: | render | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | kai.sterker, k_yee22, philipp.wiesemann, rainerd |
| Version: | 2.0.4 | ||
| Hardware: | x86 | ||
| OS: | Windows (All) | ||
|
Description
Cameron Hall
2016-05-18 01:52:12 UTC
A similar problem was mentioned on the mailing list in January 2016: http://forums.libsdl.org/viewtopic.php?p=49592#49592 There are already patches available from mingw64 that fix the issue https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-SDL2 With those applied, I could compile SDL2 without problems. But of course, it would be preferable if SDL built cleanly from source. Thanks for posting that link. I didn't know someone had already made patches for this. I agree. Besides Visual Studio, MinGW-w64 is pretty much THE way of building software on Windows, so I think it should be fairly important to get this to compile on MinGW-w64. Just in case this might also help: SDL2 (and numerous other packages) are available via the MSYS2 package manager. That's where those patches originate (so they'll fix the problem for mingw64, but likely break builds with MSVC). Therefore, if SDL 2.0.4 is good enough for you, all that is required to install is pacman -S mingw-w64-x86_64-SDL2 Btw, "pacman -Ss mingw-w64-x86" lists all available packages. If you're like me however, and want or need to have the latest and greatest, then those patches are the way to go. Fixed, thanks! https://hg.libsdl.org/SDL/rev/6cf7d55773b3 |