How do I compile DirectX Programs without Visual C++

Started by
1 comment, last by Razza2003 20 years, 8 months ago
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]
Advertisement
You just need to download a special version of the SDK. And by the way, Dev-C++ uses MinGW, not GCC.
-~-The Cow of Darkness-~-
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

This topic is closed to new replies.

Advertisement