Missing file "d3d8.h", where the heck is it?

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.
TomTim
Posts: 72
Joined: Mon Aug 16, 2010 5:32 pm
Location: NRW, Germany

Missing file "d3d8.h", where the heck is it?

Post by TomTim »

I wanted to create a dialog in which you can choose a directory for the Irrlicht Engine (which is supposed to become part of the engine), but I already got problems with the DLL-project in the SDK (source\Irrlicht\).

Since I have Visual Studio 2010, I was forced to convert the latest solution of the Irrlicht-project (Visual Studio 2008) into a useable one first, but that's not the problem. The problem is that if I start to compile the project into the Irrlicht.DLL, an error occurs "error C1083: File (Include) cannot be opened: "d3d8.h": No such file or directory".

And now I get the creeps, because I cannot find those file. Include-directory of my compiler, Irrlicht-sources and includes ...
B@z
Posts: 876
Joined: Thu Jan 31, 2008 5:05 pm
Location: Hungary

Post by B@z »

its in the previous dx sdk (2008 Jun, or before)
but you can switch off the dx8 support in the irrcompileconfig.h
Image
Image
TomTim
Posts: 72
Joined: Mon Aug 16, 2010 5:32 pm
Location: NRW, Germany

Post by TomTim »

B@z wrote:its in the previous dx sdk (2008 Jun, or before)
but you can switch off the dx8 support in the irrcompileconfig.h
And why is there no "d3d8.h" in the latest SDK?

EDIT: I have downloaded the SDK 1.4.1 (June 2008), but I didn't find a "d3d8.h" ...
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

TomTim wrote: And why is there no "d3d8.h" in the latest SDK?
because microsoft no longer support it.
TomTim
Posts: 72
Joined: Mon Aug 16, 2010 5:32 pm
Location: NRW, Germany

Post by TomTim »

OK, but how am I meant to extend the engine without DirectX 8.0-supportment? I thougth that there's no problem with older versions.

And I got now a error that d3dx9shader.h is missing after I have deleted _IRR_COMPILE_WITH_DIRECT3D_8_ ...
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
TomTim
Posts: 72
Joined: Mon Aug 16, 2010 5:32 pm
Location: NRW, Germany

Post by TomTim »

Acki wrote:try this SDK
For what should I need it?
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

TomTim wrote:
Acki wrote:try this SDK
For what should I need it?
maybe to get the dx headers and libs you're missing !?!?! :roll:
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
TomTim
Posts: 72
Joined: Mon Aug 16, 2010 5:32 pm
Location: NRW, Germany

Post by TomTim »

Acki wrote:
TomTim wrote:
Acki wrote:try this SDK
For what should I need it?
maybe to get the dx headers and libs you're missing !?!?! :roll:
I am just missing the headers, not the libraries ... ;)
CuteAlien
Admin
Posts: 9838
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

TomTim wrote: I am just missing the headers, not the libraries ... ;)
That's because you compile before you link.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

TomTim wrote:I am just missing the headers, not the libraries ... ;)
in either case everything is in the dx sdk... :lol:
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
TomTim
Posts: 72
Joined: Mon Aug 16, 2010 5:32 pm
Location: NRW, Germany

Post by TomTim »

Acki wrote:
TomTim wrote:I am just missing the headers, not the libraries ... ;)
in either case everything is in the dx sdk... :lol:
I just don't get it. I thought I have the libraries, DLLs and all that stuff, I would just need the headers (I mean, I have DirectX installed, so why do I need the SDK? If I wanna program with the Win-API, I don't download some DLLs for that, the functions are part of my system) ... :shock:
slavik262
Posts: 753
Joined: Sun Nov 22, 2009 9:25 pm
Location: Wisconsin, USA

Post by slavik262 »

Having DirectX installed just gives you the runtimes that DX applications plug into. Installing the DX SDK gives you the needed headers and libraries to compile a DX program. Installing DirectX does not give you "everything but the headers."
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

TomTim wrote:If I wanna program with the Win-API, I don't download some DLLs for that, the functions are part of my system) ... :shock:
Ehm no it's not. The libraries and headers needed for WinAPI development usually come with your compiler.

See it from this point: Why should a normal pc user who installs DirectX need these few hundred megabytes of the SDK?
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
TomTim
Posts: 72
Joined: Mon Aug 16, 2010 5:32 pm
Location: NRW, Germany

Post by TomTim »

slavik262 wrote:Having DirectX installed just gives you the runtimes that DX applications plug into. Installing the DX SDK gives you the needed headers and libraries to compile a DX program. Installing DirectX does not give you "everything but the headers."
Understood, finally. Thanks, I'll try it.
Sylence wrote:Ehm no it's not. The libraries and headers needed for WinAPI development usually come with your compiler.
For what are then those bunch of windows-DLLs in my system folders?
Sylence wrote:See it from this point: Why should a normal pc user who installs DirectX need these few hundred megabytes of the SDK?
Well, actually, that makes sense ... :oops:

EDIT: I installed the DirectX-SDK, but the problems remain ...
Post Reply