开发者

g++ windows using DirectX?

开发者 https://www.devze.com 2023-02-04 08:51 出处:网络
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 librar

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

精彩评论

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