I keep getting that error every time I run the examples and select 'a' (Opengl and the software renderers work find). I looked through the source code to find the error, and it's basically just finding trouble creating the driver in CirrDeviceWin32.cpp. Here's the source, just to save you the trouble of looking for it:
Code: Select all
case video::EDT_DIRECT3D9:
#ifdef _IRR_COMPILE_WITH_DIRECT3D_9_
VideoDriver = video::createDirectX9Driver(windowSize, HWnd, bits, fullscreen,
stencilbuffer, FileSystem, false, highPrecisionFPU, vsync, antiAlias);
if (!VideoDriver)
{
os::Printer::log("Could not create DIRECT3D9 Driver.", ELL_ERROR);
}
#else
os::Printer::log("DIRECT3D9 Driver was not compiled into this dll. Try another one.", ELL_ERROR);
#endif // _IRR_COMPILE_WITH_DIRECT3D_9_
break;I tried downloading and installing the latest Directx sdk.
I tried linking the .lib files in Dev-C++ and recompiling the irrlicht source.
I tried linking the .lib files in Dev-C++ and recompiling one of the examples.
I tried copying the .lib files into the mingw lib directory.
I tried restarting.
It just refuses to work. And I can't seem to find anyone else with the above problem, so I'm either:
A. Extremely unfortunate
Or
B. I'm doing something extremely stupid.
I'd really appreciate any help.
P.S I'm not sure if this affects anything but the runtime I have installed is DX10 and the SDK I believe is DX11 but it does have DX9 lib files.
