Skip to main content
GameDev.net gamedev.net
🔒 Locked

This is How To Setup Direct X With Dev Cpp

Started by C plus noob Aug 18, 2005 at 8:22 PM 3 replies 7.4k views
Original Post
C plus noob
C plus noob
i had about a good month of trouble tryin to Setup Direct X with Dev Cpp, but thanks to ace_lovegrove i found out how. im writing this to help other people that are in the position i was in. FIRST: Yes you do need the SDK you can find the latest one at http://msdn.microsoft.com/directx/directxdownloads/ i got the Redistributable the update and the Run Time (different page go to popular downloads) SECOND: Here is the part were most people discourage Dev
Quote:
i heard Direct X is hard to setup with Dev Cpp
not true.... open up the update DO NOT BOTHER WITH THE LIBS THAT COME WITH THE SDK! just worry about the Include folder open it and copy all the files into your Dev Cpp Include Directory (C:\Dev Cpp\Include) unless otherwise installed. EDIT: when you get the headers i use x86 some people use x64 though now in the SDK find Samples Then open C++ Then Direct3D then Tutorials then Tut 01 or sumthin get the .cpp file copy the contents THIRD: Sart a new windows project open your project options go to paramaters under linker type -ld3d9 in the box. Compile it Note: the reason i said to ignore the SDK's LIBS is because Dev came pre-installed with the libraries and can be found in the Lib Directory of Dev Cpp under the form lib(name of the library).a so d3d9 is libd3d9, how i did it with the linker is simple -l means its gonna be lib sumthing in the Lib folder of Dev d3d9 is the library so -ld3d9 searches for libd3d9.a in the Lib Directory of Dev Hopes this helps, Richard
ender7771
ender7771
This is so helpful, thank you!

As of right now, I'm around the 20th meg of 220.39 for the sdk, and i was wondering how i would pull this is off, but Im going to try this first.

Thanks again.
deadimp
deadimp
Which version of DirectX did you download and what version of Dev-C++ do you have? (Or what version was the DirectX DevPak?)
Projects:> Thacmus - CMS (PHP 5, MySQL)Paused:> dgi> MegaMan X Crossfire
orcfan32
orcfan32
I think that this should be stickified!!
The best thing to do is just choose whatever you think you'd prefer, and go for it. -Promit
C plus noob
C plus noob
Quote:
Original post by deadimp
Which version of DirectX did you download and what version of Dev-C++ do you have? (Or what version was the DirectX DevPak?)


Latest Beta Vewrsion of Dev Cpp (version 4.9.9.2) it comes installed no DevPak currently Availiable but if it needs to be updated (DX of coarse) most likely BloodShed will place it on th update list for download

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.