hybrid wrote:Unless otherwise noted, the official SDK releases come with D3D8 support.
I have to point this out then...
From the official 1.5.1 release
(
http://downloads.sourceforge.net/irrlic ... -1.5.1.zip)
in file .\include\IrrCompileConfig.h
lines 93 to 96
Official Source wrote:
Microsoft have chosen to remove D3D8 headers from their recent DXSDKs, and
so D3D8 support is now disabled by default. If you really want to build
with D3D8 support, then you will have to source a DXSDK with the appropriate
headers, e.g. Summer 2004. This is a Microsoft issue, not an Irrlicht one.
Fixing this DOES NOT REMOVE DirectX 8 support from Irrlicht. It is (supposed to be, according to the source itself) disabled-by-default, and would be re-enabled by removing a comment from the appropriate line. This would be the best course of action as the programmer who knows to dig up old SDK's would be the one to be expected to remove a comment to re-enable the old SDK, rather than letting a person new to Irrlicht who obtains the latest source and SDK be stuck with a failed compile.
The reason this is a problem is if someone goes and downloads the newest DirectX SDK from the Microsoft site, and sets everything up right, regardless of compiler, the compile WILL fail.
It takes some understanding to know which release to get, which requires digging at Microsoft, or finding other packages on other sites, to get the OLD DirectX SDK which last included the DirectX 8 headers. The new ones simply do not include them.
---
In the event someone stumbles into this post and can't find where to flip the switch, grepping the source itself won't tell you where the define is made, you need to grep the include folder.