| Summary: | CMake: Missing DirectX configuration | ||
|---|---|---|---|
| Product: | SDL | Reporter: | MailMr_S |
| Component: | build | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | blocker | ||
| Priority: | P2 | CC: | amaranth72, icculus, proppy |
| Version: | HG 2.1 | Keywords: | target-2.0.4 |
| Hardware: | x86_64 | ||
| OS: | Windows 7 | ||
| Attachments: | Patch to fix | ||
+1, it also fixed the build on windows 8.1 with DirectX SDK 2010 for me. This patch is now https://hg.libsdl.org/SDL/rev/5ab832f7bc38, thanks! --ryan. |
Created attachment 2059 [details] Patch to fix The template file (include/SDL_config.h.cmake) has only one HAVE_DXGI_H for DirectX header configuration. But in src/core/windows/SDL_directx.h you also need HAVE_DDRAW_H, HAVE_DSOUND_H and HAVE_DINPUT_H.