Archived

This topic is now archived and is closed to further replies.

Razza2003

How do I compile DirectX Programs without Visual C++

Recommended Posts

Razza2003    122
Hi, i wondering which compilers I can use to compile DirectX. Im currently using dev-cpp with gcc compiler. Can I compile DirectX with this, and is there any resources relating to this. Thanks. [edited by - Razza2003 on August 6, 2003 10:27:01 PM]

Share this post


Link to post
Share on other sites
drdlord    122
um... mingw is the windows port of gcc, so dev-c++ does sorta use gcc.

as for using directx with dev-c++ goto tools > check for updates: then grab the directx 9 package, start a windows project and goto project > project options > parameters: in compiler put in "-fvtable-thunks" and in linker add all the files starting with d3d in /dev-c++/lib/ next copy and paste the direct3d tutorials from msdn and compile. Next try to understand what the hell you just did cause it should work.

hope this helps

Share this post


Link to post
Share on other sites