开发者

g++ windows using DirectX?

Is it possible to compile code usin开发者_开发问答g g++ on Windows and to use DirectX? Are there major speed differences from using the Visual Studio compiler? Since DirectX is already a compiled library I assume there's no difference. Does any kind of licensing prevent this?


MinGW-32 will work fine, either on Windows or cross-compiling from Linux.

Cross compiling Direct3D on Linux with mingw

Note that unfortunately MSVC still produces faster code, you will need to test to gauge how much of a difference though.


You can use mingw (a Windows port of gcc/g++) with DirectX.

http://mingw-starter.blogspot.com/2008/02/mingw-directx.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜