How to compile irrlicht source with driver embedded in it?

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
analize999
Posts: 12
Joined: Mon Jun 30, 2008 11:35 pm
Location: VietNam

How to compile irrlicht source with driver embedded in it?

Post 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?
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Which version of Irrlicht?

What is the exact error message that you get when you run the apps?
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post 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.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post 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. :)
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
analize999
Posts: 12
Joined: Mon Jun 30, 2008 11:35 pm
Location: VietNam

Post 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?
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post 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 :)
Image Image Image
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post 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.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
analize999
Posts: 12
Joined: Mon Jun 30, 2008 11:35 pm
Location: VietNam

Post by analize999 »

Thank you! I will try
Post Reply