Page 1 of 1

How to compile irrlicht source with driver embedded in it?

Posted: Wed Jul 09, 2008 6:57 am
by analize999
Excuse me, I tried to compile irrlicht source in Windows use VC++6.0. It's very simple, just clicking on compile button in project workspace of irrlicht source. All of thing were fluently, no errors and no warnings. When I used the product which was compiled, the examples application don't run. It was notify that there was not driver in the product which was compiled. I don't know how to compile irrlicht source with driver embedded in it. Anybody tried to do this? Can you help me?

Posted: Wed Jul 09, 2008 12:16 pm
by rogerborg
Which version of Irrlicht?

What is the exact error message that you get when you run the apps?

Posted: Wed Jul 09, 2008 1:50 pm
by hybrid
With VC6 and any newer DX SDK the D3D9 driver is disabled, because it's not supported (at least that's what the note in IrrCompileConfig.h says). But D3D8 should work.

Posted: Wed Jul 09, 2008 2:26 pm
by rogerborg
Hmm, it seems a bit strange to define it conditionally only to undef it later based on another conditional, but the logic gets a bit tortuous otherwise. :)

Posted: Thu Jul 10, 2008 8:27 am
by analize999
The error message is "DIRECT3D9 Driver was not compiled into this dll". I chose Direct 3D8 dirver, it's working fine. But the Irrlicht engine which was previous compiled by the author has direct 3d9 driver embedded in it. I don't understand this problem, why the author disabled the direct 3d9 driver? How to compile irrlicht source with direct 3d9 embedded in it?

Posted: Thu Jul 10, 2008 8:50 am
by JP
search the forum for IrrDX and you'll be provided with a thread that contains dlls with DX9 compiled in for all versions of irrlicht :)

Posted: Thu Jul 10, 2008 9:58 am
by rogerborg
analize999 wrote:How to compile irrlicht source with direct 3d9 embedded in it?
1) Use a compiler written in this millennium. Microsoft Visual C++ Express is freely available.

2) Use the October 2004 DXSDK and Extras.

3) Lobby Microsoft to re-enable support for VC6 in their latest DXSDK. While you're at it, get Alyson Hannigan to return my calls.

Posted: Fri Jul 11, 2008 12:38 am
by analize999
Thank you! I will try