Cannot find d3d8.h

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
karx11erx
Posts: 42
Joined: Wed Mar 05, 2008 1:28 pm

Cannot find d3d8.h

Post by karx11erx »

------ Build started: Project: Irrlicht, Configuration: Debug Win32 ------
Compiling...
CD3D9Texture.cpp
CD3D9ShaderMaterialRenderer.cpp
CD3D9ParallaxMapRenderer.cpp
CD3D9NormalMapRenderer.cpp
CD3D9HLSLMaterialRenderer.cpp
CD3D9Driver.cpp
CD3D8Texture.cpp
e:\projekte\irrlicht-1.4\source\irrlicht\CD3D8Texture.h(13) : fatal error C1083: Cannot open include file: 'd3d8.h': No such file or directory
CD3D8ShaderMaterialRenderer.cpp
e:\projekte\irrlicht-1.4\source\irrlicht\CD3D8ShaderMaterialRenderer.h(12) : fatal error C1083: Cannot open include file: 'd3d8.h': No such file or directory
CD3D8ParallaxMapRenderer.cpp
e:\projekte\irrlicht-1.4\source\irrlicht\CD3D8ParallaxMapRenderer.h(12) : fatal error C1083: Cannot open include file: 'd3d8.h': No such file or directory
CD3D8NormalMapRenderer.cpp
e:\projekte\irrlicht-1.4\source\irrlicht\CD3D8NormalMapRenderer.h(12) : fatal error C1083: Cannot open include file: 'd3d8.h': No such file or directory
CD3D8Driver.cpp
e:\projekte\irrlicht-1.4\source\irrlicht\CD3D8Driver.h(25) : fatal error C1083: Cannot open include file: 'd3d8.h': No such file or directory
Generating Code...
Build log was saved at "file://e:\projekte\irrlicht-1.4\source\obj\IrrDebug\BuildLog.htm"
Irrlicht - 5 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I have installed the latest MS DX SDK, but it only has DX9 and DX10 stuff. Solution?
Saturn
Posts: 418
Joined: Mon Sep 25, 2006 5:58 pm

Post by Saturn »

karx11erx
Posts: 42
Joined: Wed Mar 05, 2008 1:28 pm

Post by karx11erx »

errrm ... true. :oops:

Not a real solution though, but I think I can live well w/o DX 8.

Thanks.
Saturn
Posts: 418
Joined: Mon Sep 25, 2006 5:58 pm

Post by Saturn »

I'd call it a solution, but in case you want dx8, the solution is to download an older directx sdk. I don't remember when MS dropped dx8 support, but a 2004 or 2003 sdk release should still contain support for it.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

karx11erx wrote:Not a real solution though,
What would you consider a real solution to be? Please be clear what problem you are solving.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
karx11erx
Posts: 42
Joined: Wed Mar 05, 2008 1:28 pm

Post by karx11erx »

The real solution imo would be to point out where to get the required DX8 SDK files from.

I tried to find a DX8 SDK download (searched Microsoft Downloads for it), but I couldn't find one.

I mean, the DX8 stuff is in Irrlicht for a purpose, or is it just legacy code?
Saturn
Posts: 418
Joined: Mon Sep 25, 2006 5:58 pm

Post by Saturn »

As I said, older DirectX SDKs still contain it. Download for instance the 2004 or 2003 SDK, they are still available from MS download center.

And there is little reason today to use the dx8 driver really. Just ignore it.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

karx11erx wrote:The real solution imo would be to point out where to get the required DX8 SDK files from.
Microsoft.
karx11erx wrote:I tried to find a DX8 SDK download (searched Microsoft Downloads for it), but I couldn't find one.
Eh, Microsoft.
karx11erx wrote:I mean, the DX8 stuff is in Irrlicht for a purpose, or is it just legacy code?
The purpose is to support legacy code. There may (may) be someone out there who has a DX8 SDK and wants to continue actively to use the latest Irrlicht with it.

Don't get me wrong, I actually agree with you. Recent SVN checkouts have D3D8 support commented out, and personally I'd be delighted for the device to be removed completely at this point to reduce the maintenance burden.

I'd be interested to hear if there is anyone who still needs D3D8, but I suspect that the only sure way to find out would be to remove it and see who's head explodes.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

rogerborg wrote:I'd be interested to hear if there is anyone who still needs D3D8, but I suspect that the only sure way to find out would be to remove it and see who's head explodes.
Where's the inevitabe pic :?: :lol:
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

hybrid wrote:
rogerborg wrote:I'd be interested to hear if there is anyone who still needs D3D8, but I suspect that the only sure way to find out would be to remove it and see who's head explodes.
Where's the inevitabe pic :?: :lol:
yeah, the animated one from "Scanners" would be great for this !!! :lol:
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
karx11erx
Posts: 42
Joined: Wed Mar 05, 2008 1:28 pm

Post by karx11erx »

roger,

you're a bit slow, aren't you? Show me where from Microsoft to download a DX*8* SDK. As I said: I didn't find one, and I tried MS's search function.
Ion Dune
Posts: 453
Joined: Mon Nov 12, 2007 8:29 pm
Location: California, USA
Contact:

Post by Ion Dune »

http://www.microsoft.com/downloads/Brow ... tegoryid=2

I did what he said. Microsoft Download Center -> DirectX. Now cycle back pages until you see something 2003-2004.
karx11erx
Posts: 42
Joined: Wed Mar 05, 2008 1:28 pm

Post by karx11erx »

Ironic enough that the search function doesn't yield a link. I wrote already that I don't need it though.
Last edited by karx11erx on Sun Apr 06, 2008 11:47 pm, edited 1 time in total.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

karx11erx wrote:roger,

you're a bit slow, aren't you?
I'd say that we're operating with very different levels of expectation about what the world owes us.

karx11erx wrote:Show me where from Microsoft to download a DX*8* SDK.
If the best has already failed, the rest would surely be wasting their time in even making the attempt.

karx11erx wrote:As I said: I didn't find one, and I tried MS's search function.
I do apologise. I'll get a con-call set up with Bill and Steve first thing Monday and we'll get that sorted out straight away.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Blue Hampster
Posts: 39
Joined: Tue Apr 29, 2008 1:41 pm
Contact:

Post by Blue Hampster »

Can't anyone just post a zip file that contains the D3D header files? wouldnt that be a hell of a lot easier than having to download a 400 mb file to get about 50kb of Header?
Post Reply