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

Directx 8 sdk

Started by adimarjr Oct 6, 2006 at 7:36 AM 9 replies 2.9k views
Original Post
adimarjr
adimarjr
I need the DirectX 8 SDK. Someone knows where I can get it?
Aardvajk
Aardvajk
I don't think it is available from Microsoft any more.

However, everything you need to compile DirectX 8 stuff is included in the latest DirectX 9 release. The documentation is another matter...
adimarjr
adimarjr
but when I try to compile the code it shows an error message that says it can´t find "d3d8.h".

Smit
Smit
I haven't used DirectX for awhile so I might be completly off [smile]. Don't you use ?

EDIT:
Ok, I just checked in VS 2005 Express (#include):

Found.
Found.
"d3d8.h" Found.
"d3d9.h" Cant find header.

So it should work, do you have the most recent SDK installed? I have August 06.
Aardvajk
Aardvajk
That's really weird what Smit reports. I thought if you used quotes on a #include rather than angles, it would still look in the compiler include directories, but would just look in local directories first. Strange. Perhaps that isn't part of the standard or something.

adimarjr - have you tried doing a harddrive search for d3d8.h? If it's there, you haven't configured your compiler correctly. If it isn't, you probably need (as Smit said) a more up to date DirectX SDK. Just get 9 if you want to compile 8 code. It is avaliable here.

What compiler are you using, by the way?
bakery2k1
bakery2k1
Quote:
Original post by EasilyConfused
Just get 9 if you want to compile 8 code. It is avaliable here.


Despite popular belief, the DirectX 9 SDK does not contain everything necessary to compile DX8 code. It is missing, for example, d3dx8.h.

I'm sure you can download the DX8 SDK from somewhere, but not from Microsoft. Another option may be to find an old book which has the SDK on its companion CD - if you don't have one, try a local library.
Aardvajk
Aardvajk
Oops. Didn't know that. Thanks, bakery2k1, for pointing that out. I'll stop mis-advising people on that one [smile].
adimarjr
adimarjr
I'm using Visual C++ 2005 Express.

Sorry, the file it can´t find is "d3dx8.h". I did a search for it and it wasn´t found.

Aardvajk
Aardvajk
In an effort to make up for my previous error, I have managed to locate a site where it would appear you can download the d3d8x component of the 8 SDK.

Disclaimer - I have no idea if this site is allowed to host this file or not, or whether adding the d3dx component to the existing DX9 install will work for compiling 8 apps.

Good luck.
adimarjr
adimarjr
thanks for the links.

I found the DirectX D3DX 8.0b at Microsoft too. Here.

I´ll try it later when I get home.

Topic Locked

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

Sign in to reply to this topic.