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.
Jaccek
Posts: 1 Joined: Tue May 12, 2009 6:05 am
Post
by Jaccek » Sat Jun 06, 2009 2:12 pm
I want to use Irrlicht and Direct3D but if I write this:
Code: Select all
IrrlichtDevice *device = createDevice(EDT_DIRECT3D9, ... );
it shows me this: 'DIRECT3D9 Driver was not compiled into this dll. Try another one'.
What I have to do to use Direct3D in Irrlicht?
B@z
Posts: 876 Joined: Thu Jan 31, 2008 5:05 pm
Location: Hungary
Post
by B@z » Sat Jun 06, 2009 2:17 pm
the default dll what came with the sdk should support dx9
if you recompiled it by yourself, then download dx sdk, and dont disable in the compiler
hybrid
Admin
Posts: 14144 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Sat Jun 06, 2009 7:20 pm
The gcc-mingw version comes without directx support. Maybe just switch your compiler to MSVC Express. Otherwise you need to recompile Irrlicht with mingw and the DirectX SDK. Moreover, you need to enable the dx support in IrrCompileConfig, or use a precompiled dll fromthe FAQ forum.