• Announcements

Archived

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

Help with Dev-C++ and Direct X

Recommended Posts

Quantrizi    122
I''m using Dev-C++ 4.01, and the Direct X 8.1 SDK. I also have the book "Programming All In One", but can''t get the mr header files to work....if anyone has them for Dev-C++, please send them to runaway2k1@yahoo.com (my problems are with the declarations)

Share on other sites
sakky    100
First of all, Dev-C++ is the IDE. MingW is the compiler and the header files are fine. You just have to make sure you link properly and have the right compiler options set. Do the fallowing

In Project Options

add this to ''Extra compiler commands''
• -fvtable-thunks

• Do not add any spaces between -fvtable and -thunks, leave them like this =-fvtable-thunks. MingW is very picky on this type of stuff.

-ldxguid
-lddraw

Make sure you havve the correct include directories set for were you DirectX 8 package hearder files are located at. I my self, copied the include files and libs from the ZIP file the DirecX8 package, to my Dev-C++ include and lib directory.Now, MingW can''t fully implement DirectX. Actually, the only part of DirectX it implements is DirectDraw. That I''v seen and delt with. I''v went rounds with it trying to get DirectSound and DirectInput to work. I don''t know why there is a DX8 package for MingW when it can only use DDraw witch isn''t even DX8. Its more like DX7 and the package dosen''t work right either.

Share on other sites
sakky    100
Actually, I got my Visual Studio Enterprise Edition for free. I''m thinking about trashing it tho. Not that I don''t like it but I''m going to be getting Visual Studio .NET Enterprise Edition. So that would make just plain old 6.0 worthless to all beans. I''ll be getting the PhotoShop 7.0 and 3D Studio Max too, along with a new computer. Because I''m going to school now that state wants to help me so they can get me to leave there state. But, I''ll sit around alot longer and soke up some sice software and alittle cah to play with.

Share on other sites
Quantrizi    122
Wish I was you right now

Share on other sites
brewski    122
Only use ddraw?
I'm learning d3d with dx8 and use dev-c++. It works for me.

http://www.bloodshed.net/dev/packages/index.html

(On complaints with Mingw/gcc: It's free. There isn't a lot of free compilers out there. Kinda good for those of us who haven't good lots of cash. I can't see the point of complaining on freeware, support it and if a good coder help improving it. )

[edited by - brewski on May 5, 2002 6:53:38 PM]

Share on other sites
Quantrizi    122
I already had that d/l''ed.....and they used to work, but I can''t find any tutorials going past the basics