Christer Solskogen schreef op ma 27-04-2015 om 19:37 [+0200]:
> Hi!
> 
> I've got trouble cross compiling SDL2 with the latest and greatest 
> gcc, 
> binutils and mingw-w64.
> 
> gcc version 5.1.0 (GCC)
> GNU ld (GNU Binutils) 2.25
> and mingw-w64 v4.x (from git)
> 
> I don't what is to blame. But I'm pretty sure the cross compiler it 
> self 
> is in good shape, since I can cross compile SDL1 without any issues.

Hi,

This is a known issue in SDL2 (which was also mentioned on this
mailing list multiple times). On the mingw-w64 side you need to use
version 4.0.1 or higher. Additionally you also need to apply these two
patches which we are using in Fedora to get SDL2 built:

http://pkgs.fedoraproject.org/cgit/mingw-SDL2.git/tree/SDL2-fix-gcc
-compatibility.patch
http://pkgs.fedoraproject.org/cgit/mingw-SDL2.git/tree/SDL2-prevent
-duplicate-d3d11-declarations.patch

Regards,

Erik van Pienbroek
Fedora MinGW SIG


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to