IrrlichtSVN-CompilingError

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
silentpolygon
Posts: 8
Joined: Sat Aug 26, 2006 6:05 pm
Location: Germany
Contact:

IrrlichtSVN-CompilingError

Post by silentpolygon »

When I want to compile the actual Irrlicht SVN-Revision i get 3 Compiler errors that there are Dx8core.h and some other files(Dont have the name right now, but it has to do with dx8) are not available. I use:

Microsoft VC++ Express 8
DirectX SDK (August 2006)
PlatformSDK
on an
AthlonXP2200+ with WinXP SP2

All files are linked into VC++. He finds everything in the DirectXSDK except these files. As i looked into the DXSDK Folder I also didnt found the required files.

Could need some help. :?
The World is OpenSource if you have an IrrLicht that leads you...
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Short answer: in include\IrrCompileConfig.h, comment out the line:

#define _IRR_COMPILE_WITH_DIRECT3D_8_


Long answer: IrrLicht built on Windows still assumes that a DirectX 8 SDK is available. It's an historical quirk. I suppose some people might still be using DX8, just like some people still make fire by bashing rocks against their head.

This catches out just about everyone building on Windows, so I hope that a design decision is made to turn off DX8 support by default, or at least providing some very clear #pragma messages that explain exactly what's going on.
silentpolygon
Posts: 8
Joined: Sat Aug 26, 2006 6:05 pm
Location: Germany
Contact:

Post by silentpolygon »

Thanks a lot.

As soon as I am at home I gonna test it
The World is OpenSource if you have an IrrLicht that leads you...
Post Reply