Bug#788540: libsdl2: fails to cross compile on mingw (attach solution)
a_normal_user
z9y9x9 at yeah.net
Fri Jun 12 14:50:28 UTC 2015
Source: libsdl2
Severity: normal
Dear Maintainer,
An error occured when use mingw to compile libsdl2.
For example,
execute:
$ ./configure --host="i686-w64-mingw32" && make
will get an error:
> src/video/windows/SDL_windowsvideo.c:250:18: fatal error: DXGI.h: No such file or directory
> #include <DXGI.h>
Here is the solution,
https://bugzilla.libsdl.org/show_bug.cgi?id=2440
Thanks.
-- System Information:
Debian Release: 8.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
More information about the Pkg-sdl-maintainers
mailing list