Irrlicht and Direct3D - how can I get it work?

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
Jaccek
Posts: 1
Joined: Tue May 12, 2009 6:05 am

Irrlicht and Direct3D - how can I get it work?

Post by Jaccek »

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 »

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
Image
Image
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

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.
Brainsaw
Posts: 1263
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

There is a thread floating around somewhere where you can download the precompiled DLL compiled with gcc and DirectX.

Oh ... just noticed I bookmarked the thread: http://irrlicht.sourceforge.net/phpBB2/ ... l&start=90
Image
Dustbin::Games on the web: https://www.dustbin-online.de/
Post Reply