Archived

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

How do I compile DirectX Programs without Visual C++

This topic is 5245 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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