• Advertisement
Sign in to follow this  

Directx 8 sdk

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

Advertisement
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...

Share this post


Link to post
Share on other sites
but when I try to compile the code it shows an error message that says it can´t find "d3d8.h".

Share this post


Link to post
Share on other sites
I haven't used DirectX for awhile so I might be completly off [smile]. Don't you use <d3d8.h>?

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

<d3d9.h> Found.
<d3d8.h> 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.

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
thanks for the links.

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

I´ll try it later when I get home.

Share this post


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

  • Advertisement