Jump to content
  • Advertisement

Archived

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

utwo007

DirectX problems with Bloodshed?

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

Hey. I''m using the Dev-C++ IDE to compile my DirectX projects, as I read and learn DirectX from Andre LaMothe''s "Tricks...Gurus" book. Since I''m so new to this, it''s entirely possible that I''m doing something wrong. Whenever I try to compile a DirectDraw program of any kind, I get 31 errors. I figured I must have done something wrong, so I grabbed one of LaMothe''s own .cpp files from the DDraw chapter, pasted it, compiled it, and got the SAME 31 errors. If I can''t compile LaMothe''s code correctly, then I''m either doing it wrong, or the compiler Dev-C++ uses (cant remember which) is messed. Anyone have any ideas? I know that I was told to include DDRAW.LIB. I made sure that the path to the DX SDK LIB\ directory was in the compiler options, as well as the include\ directory. I also tried using the #include directive to include the .lib file explicitly, like this: #include <ddraw.lib> but that obviously didn''t work, and such cose wasn''t in LaMothe''s source either. Help!

Share this post


Link to post
Share on other sites
Advertisement
heres a link for what you need
http://www.bloodshed.net/dev/pkg/pkg_getting.html
and be sure to follow the readme that comes with the package it will give you step by step instructions on setting up a Direct X project and check out the bloadshed forum for help on getting Direct Input up and running in the version of the package I downloaded I had to alter one of the headers to get it to work, cant remember wich one at the moment mmsystems.h I think anyway if you goto the bloadshed forum look in the DirectX8 tutorial project thread I uploaded a handfull of zips sofar to a geocities acount the secound one I think is where I added Direct Input their is a file description on the page so it should be easy to fined you will have to download the rsrc.zip as well to get the source to compile, the rsrc.zip file contains two files for the project that I forgot to include in matrices, matricesV2, and matricesV3.zip files

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!