Here is a short list of compilers that actually include DirectX 10/11 headers and / or libraries in the field:
- TDM-GCC x64 starts at version 4.7 with DirectX 10/11 headers and libraries: http://tdm-gcc.tdragon.net/
- TDM-GCC x64 build 4.6.1 comes with most DirectX 10/11 headers and libraries, but has limited support for the DWM API out of the box: libraries for x86 are missing, and some headers are incorrect: https://sourceforge.net/p/tdm- gcc / feature-requests / 27 /
- Regular Windows GCC (MinGW) does not contain anything from DirectX 10/11, but supports a limited portion of DirectX 9 out of the box (for example, D3DX is not included).
- Orwell Dev-C ++ TDM-GCC 4.6.1 builds include DirectX 9/10/11 headers and libraries. They are provided by the Jun 2010 SDK, and the libraries are converted to the GCC.a format: http://sourceforge.net/projects/orwelldevcpp/ .
In fact, any reasonably modern Windows compiler should be able to compile / support DirectX 10/11 headers . I saw that GCC 3.4.2 fights a lot, but this version is ancient. Headers are the easy part, so to speak: just upload the headers to the appropriate include folder, and your compiler suddenly supports DirectX 10/11.
The other part, libaries , is more complex. Getting both x64 and x64 libs and converting to GCC.a (using lib2a) can be annoying. Fortunately, compilers like TDM-GCC or IDE like Dev-C ++ started shipping with libs some time ago. And again, almost any recent compiler will suddenly support DirectX 10/11 if you dump .a files from libraries in the correct folder.
source share