支持DirectX 11库的编译器 [英] Compilers who are supports DirectX 11 libraries
问题描述
Visual Studio 2010和2008之外的哪个编译器支持DirectX SDK Jun 2010?
我是初学者,我想使用DirectX 11编程,但是我有
了解所有可用于DirectX 11编程的编译器会很有趣。
p>
以下是编译器的简短列表,这些编译器实际上包括该框的DirectX 10/11的头文件和/或库:
- 从4.7版开始的TDM-GCC x64构建带有DirectX 10/11标头和库: http://tdm-gcc.tdragon.net/
- TDM-GCC x64 build 4.6.1随附大多数DirectX 10/11标头和库,但现成的DWM API支持有限:x86的库丢失并且某些标头不正确: ht tps://sourceforge.net/p/tdm-gcc/feature-requests/27/
- 普通Windows GCC(MinGW)不包含DirectX 10/11的任何内容,但立即支持DirectX 9的有限部分(例如,不包括D3DX)。
- Orwell Dev-C ++的TDM-GCC 4.6.1构建包括DirectX 9 / 10/11标头和库。它们由2010年6月SDK提供,并且库已转换为GCC .a格式: http://sourceforge.net / projects / orwelldevcpp / 。
实际上,任何相当现代的Windows编译器都应该能够编译/支持DirectX 10 / 11 标题。我已经看到GCC 3.4.2挣扎了很多,但是那个版本是古老的。头是很容易的部分,可以这么说:只需将头转储到适当的include文件夹中,您的编译器就会突然支持DirectX 10/11。
另一部分 lib 是更难的部分。同时获得x64和x64库并转换为GCC的.a(使用lib2a)可能会很烦人。幸运的是,像TDM-GCC之类的编译器或像Dev-C ++之类的IDE早已开始随libs提供。再一次,如果将库的.a文件转储到适当的文件夹中,几乎所有最新的编译器都会突然支持DirectX 10/11。
Which compilers other than Visual Studio 2010 and 2008 support DirectX SDK Jun 2010?
I am a beginner, and I want to program with DirectX 11, but i have a VERY limited internet and may download only little files (300 MB).
It would be interesting to know all compilers that can be used to program for DirectX 11.
Here is a short list of compilers that actually include the headers and/or libraries of DirectX 10/11 of the box:
- TDM-GCC x64 builds starting with version 4.7 ship with DirectX 10/11 headers and libraries: http://tdm-gcc.tdragon.net/
- TDM-GCC x64 build 4.6.1 ships with most DirectX 10/11 headers and libraries, but has limited DWM API support out of the box: the libaries for x86 are missing and some headers are incorrect: https://sourceforge.net/p/tdm-gcc/feature-requests/27/
- Plain Windows GCC (MinGW) does not include anything of DirectX 10/11, but supports a limited part of DirectX 9 out of the box (for example, D3DX is not included).
- The TDM-GCC 4.6.1 builds of Orwell Dev-C++ include DirectX 9/10/11 headers and libraries. They are provided by the Jun 2010 SDK, and libraries are converted to GCC .a format: http://sourceforge.net/projects/orwelldevcpp/.
Actually, any reasonably modern Windows compiler should be able to compile/support the DirectX 10/11 headers. I have seen GCC 3.4.2 struggle a lot though, but that version is ancient. Headers are the easy part, so to speak: simply dump the headers in the appropriate include folder and your compiler suddenly supports DirectX 10/11.
The other part, libaries, are the harder part. Obtaining both x64 and x64 libs and converting to GCC's .a (using lib2a) can be annoying. Fortunately, compilers like TDM-GCC or IDEs like Dev-C++ started shipping with the libs a while ago. And again, pretty much any recent compiler will suddenly support DirectX 10/11 if you dump the .a files of the libraries in the proper folder.
这篇关于支持DirectX 11库的编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!