更新时间:2023-11-10 17:58:10
以下是编译器的简短列表,这些编译器实际上包括该框的DirectX 10/11的头文件和/或库:
实际上,任何相当现代的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:
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.