Missing D3dx8core.h and d3dx8tex.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.
Post Reply
Nova
Competition winner
Posts: 99
Joined: Mon May 09, 2005 10:32 am

Missing D3dx8core.h and d3dx8tex.h

Post by Nova »

Hey everyone,

I wanted to extend the Engine and rebuild it afterwards.
I downloaded the newest Dx SDK and linked everything correctly, i guess.

But still the compiler complains about two files missing - D3dx8core.h and d3dx8tex.h.

I commented the latter and it seemed to be no problem, but the former is required but cannot be found. In my SDK dir there is only a D3dx9core.h but when I include that one, even more error occur.

Does anyone know what I am doing wrong?

so long
-Nova
terrorchrist
Posts: 83
Joined: Wed Apr 26, 2006 10:07 pm
Location: Vienna

Post by terrorchrist »

hi!
the problem is simply that you have installed a directx 9.x sdk and that irrlicht unfortunately still uses these two headers of the directx 8.1 sdk.

so you need this 8.1 sdk. I need it too, but I cannot find any download link...

has anyone an idea where to download them?
ebol666
Posts: 4
Joined: Sun Apr 23, 2006 12:16 am

Post by ebol666 »

You dont need to compile the engine with all the drivers, for ex, I'm only using D3D9 driver. Anyway, the simplest solution for your problem is:

in the source, find a file named: IrrCompileConfig.h. Open it, then find a line thats says:

#define _IRR_COMPILE_WITH_DIRECT3D_8_

and simply comment/delete it.

Save changes, and rebuildt.

If you have any more questions feel free to ask
Chandler
Posts: 13
Joined: Fri May 26, 2006 5:05 pm

Post by Chandler »

Or you can go here
http://www.gameres.com

It's in chinese so just use babel fish to translate it

http://babelfish.altavista.com

and download the dirext X 8 SDK, it'll have the missing files, and you can just dump them in with the other DX9 files :wink:
Post Reply