irrlicht engine Game; Driver problem

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.
wahagn
Posts: 186
Joined: Sat Dec 06, 2008 5:11 pm
Location: Zundert (Netherlands)

irrlicht engine Game; Driver problem

Post by wahagn »

Hello I am working on a game so I would like to use the demo of irrlicht as basis. Now I have that demo from the exapmles compiled and than comes that screen with driver's . when I select Direct3D, teh Demo.exe closes and will read: DIRECT3D9 Driver was not compiled into this dll . Try another one. :? (<<--under problems in my IDE)But if I go irrlicht-1.5/bin/Win32-VisualStudio/demo.exe and select Direct3D it succeed :x


Can someone help me? :wink: :?: :!:
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

Yes the search function can help you. This has been asked about a million times now.
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
wahagn
Posts: 186
Joined: Sat Dec 06, 2008 5:11 pm
Location: Zundert (Netherlands)

Post by wahagn »

Sorry I have searched but could not find :? :oops:
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
wahagn
Posts: 186
Joined: Sat Dec 06, 2008 5:11 pm
Location: Zundert (Netherlands)

Post by wahagn »

Thx. :D ^^ I have read that topics above and, I understand that the error has to do with that Direct3D is not compiled with MinGW version but what version would I need to download so that it is? :roll:
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

Now you have two keywords that you could type into the searchbox. Direct3d9 and mingw...
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
wahagn
Posts: 186
Joined: Sat Dec 06, 2008 5:11 pm
Location: Zundert (Netherlands)

Post by wahagn »

i found it -

http://irrlicht.sourceforge.net/phpBB2/ ... l&start=90

but in the zip is placed:

-irrlicht.dll

-libirrlicht.a

where i must place that dll ?? :arrow: -D3DX81ab.dll

:?: :?: :?:
DtD
Posts: 264
Joined: Mon Aug 11, 2008 7:05 am
Location: Kansas
Contact:

Post by DtD »

That is gonna be an old version. You should either compile it yourself or man up and use MSVS. If you can't compile Irrlicht yourself, it's probably not a good idea for you to be wrestling with what compiler you're using.

~DtD
wahagn
Posts: 186
Joined: Sat Dec 06, 2008 5:11 pm
Location: Zundert (Netherlands)

Post by wahagn »

DtD wrote:That is gonna be an old version. You should either compile it yourself or man up and use MSVS. If you can't compile Irrlicht yourself, it's probably not a good idea for you to be wrestling with what compiler you're using.

~DtD
i don't know how i can compile irrlicht but why i should be use micorsoft visual studio??
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Because it's much simpler to compile DirectX into Irrlicht with Visual Studio.
wahagn
Posts: 186
Joined: Sat Dec 06, 2008 5:11 pm
Location: Zundert (Netherlands)

Post by wahagn »

but can someone tell me how to do?? :D
but i do not want to use MS VS... :roll: :!:


by the way im using Eclipse as IDE
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Eclipse can also work with the VC++. But there are also many descriptions about how to compile directx into a mingw dll, you just need to add some defines and have the proper headers and libs at hand.
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post by Midnight »

http://www.youtube.com/watch?v=blZNVKYxyIY

most ide do something similar to this. what you need to include is the directx sdk. for dx8 you need an older sdk it's no longer supported. you do not need directx8 though.
Jake-GR
Posts: 41
Joined: Wed Jan 07, 2009 12:32 am
Location: Colorado
Contact:

Post by Jake-GR »

Because it's much simpler to compile DirectX into Irrlicht with Visual Studio.
thats just because for some reason someone thought it was hard and made it so it wont compile DX if you are using MinGW.

i heard horror stories about compiling with DX and MinGW... but i dont have any myself. i just added the "include" and "lib/x86" to search directories, added "d3dx9" to linker, and defined "IRR_COMPILE_WITH_DX9_DEV_PACK"...
hit compile and viola, some warnings but no errors and works like a charm.

WinXP
C::B 8.02 + MinGW (ver that comes with cb)
Nov 2008 DX SDK (only .dll, include, and lib folders)
wahagn
Posts: 186
Joined: Sat Dec 06, 2008 5:11 pm
Location: Zundert (Netherlands)

Post by wahagn »

Jake-GR wrote:
Because it's much simpler to compile DirectX into Irrlicht with Visual Studio.
thats just because for some reason someone thought it was hard and made it so it wont compile DX if you are using MinGW.

i heard horror stories about compiling with DX and MinGW... but i dont have any myself. i just added the "include" and "lib/x86" to search directories, added "d3dx9" to linker, and defined "IRR_COMPILE_WITH_DX9_DEV_PACK"...
hit compile and viola, some warnings but no errors and works like a charm.

WinXP
C::B 8.02 + MinGW (ver that comes with cb)
Nov 2008 DX SDK (only .dll, include, and lib folders)
Than i must:

-Download diectx9 sdk
^ Where??

-Add the inculde and lib of it to the Directories and d3dx9 to the linker
^Ok.

- define "IRR_COMPILE_WITH_DX9_DEV_PACK"...
^ Where??

Have someone a videoTutorial of this^^ :wink: :?:


P.S: What is the difference between Direct3D and Directx8 / 9? :?: :?:
Post Reply