Jump to content
  • Advertisement
Sign in to follow this  
forestlaw89

Need help setting up directx on dev c++

This topic is 4861 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

I just purchased the book "programming role-playing games with direct x" and I am confused on how to set up the directX libraries, includes, and multithreading libraries because the book only shows you how to do it in Visual C++, and VisualStudio.Net. So if anyone out their has purchased this same book can you please tell me how to set these files in a DevC++ compiler. I would really like to get started learning ASAP. Thanx to anyone who replies.

Share this post


Link to post
Share on other sites
Advertisement
If you download the newest version of devc++ with mingw it should have directx all installed for you.

Here is what I link with:
-ld3d9
and I manually added the file: Dev-Cpp/lib/libd3dx9d.a so some demos will work.

Share this post


Link to post
Share on other sites
Quote:
Original post by ender7771
If you download the newest version of devc++ with mingw it should have directx all installed for you.



That is not the exact case. You will only be able to compile very basic directx programs. Plus, dev C++ uses .a instead of .lib files. So you will have to pull teeth just to get a directx sdk that works with dev c++. That is why I decided to leave dev C++ and get the free VC++ Express Edition.

Share this post


Link to post
Share on other sites
DX is easy to use it in VC++.

And I mean in a lot of ways, right from getting the SDK to install to compiling and running stuff with it ;)

Get VC++ man, if you can.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!