Dose anyone know how to set Dev-C++ to use DirectX

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Siolis
Posts: 7
Joined: Mon Apr 11, 2005 2:17 pm

Dose anyone know how to set Dev-C++ to use DirectX

Post by Siolis »

I bought this book called "Programming role playing games useing DirectX" for 40 odd pound and then relized that the love machine who wrote it only included IDE set up instructions for MS Visual Studio which costs me 45 to 85 odd pound if i can prove im a student in most cases.

Anyway, im student so no more money spending for me, ive decided to use BloodSheds IDE called Dev-C++ (Like i needed to mention the developer of it) but that, in all its easy-to-use glory, refuses to work for me and spending anouter 5 hours trying to make it work with the examples in the book dosent sound like a good time to me.

SO, can anyone please tell me how to configer Dev-C++ to work with DirectX as ive seen some posts (useing search) where people have used it just fine.

And before anyone happens to mention it; no, there are no tutorials that i could find useing Google which would tell me how to make it work with vershion 9 of DirectX, there was one for 8 from GameDev but that didnt work...

Thanks in advance to anyone who takes pitty on me cus knowing me its probably compleatly obvious what im doing wrong.

Siolis
Guest

Post by Guest »

There was a devpak that installed directx availability. I guess that would be what you need. Sadly, it seems that it went "out of service" when the developer (or someone close) told that what he was doing was ilegal (because of Micro$oft eula or something like that).
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

I've heard that the latest version of MinGW can work ok with DX (though I think you have to download the sdk from MS). Unfortunately I've had problems with multiple template layers under the newer version, but use Dev-cpp's update feature to update MinGW. I'm not sure if anyone else has had the same template problem as I have, so I may be doing something wrong, but you might want to back up your old version of MinGW before updating just in case.
Take a look here http://devpaks.org/list.php?category=3D%20Graphics
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.

Crucible of Stars
Sweenie
Posts: 3
Joined: Wed Mar 09, 2005 12:05 pm
Location: Sweden

Post by Sweenie »

Another good combo is Code::Blocks IDE and Microsoft Visual C++ Toolkit 2003.

Freeware and working fine with DirectX.
Downside is you'll need a fast internet connection because you will have to download a "small package" called Microsoft Platform SDK.
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

it comes in a series of 25MB .cab files, so its not really so bad.
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.

Crucible of Stars
Post Reply