Page 1 of 1

Irrlicht-1.3_mingw32 with DirectX 9 - [Tutorial Available]

Posted: Tue Mar 27, 2007 9:28 pm
by virtual x
Hi guys,

alot of people are having problems getting DirectX 9 to work in irrlicht, so I've recompiled it with DirectX 9 support. I used CodeBlocks with Mingw32

you can download the lib and dll from:

http://files.filefront.com//;7046840;;/

I have tested it and it works ok, if any problems just post here.

Posted: Wed Mar 28, 2007 5:30 am
by roxaz
thank you sooo much! could you post a tutorial how to compile it with all dx stuff supported?

Posted: Wed Mar 28, 2007 10:30 am
by virtual x
Hi Roxaz,

sure, I will work on a tutorial on how to compile it using CodeBlocks at the weekend, unless someone beats me too it *heehee*.

if you have any problems with it let me know asap

Posted: Wed Mar 28, 2007 6:35 pm
by virtual x
ok guys, as promised!

I have some spare time, so I thought I would get it done now lol

download tutorial from http://files.filefront.com//;7058524;;/

any problems post here!

enjoy!

Posted: Thu Apr 05, 2007 7:10 pm
by roxaz
i love beer, girls and tutorials, thx man ;)

Posted: Mon May 14, 2007 3:05 pm
by Helderash
Hi Virtualx,

Thankyou very much for writing that tutorial, it's something I've been needing for a while! I do seem to be having one problem though, and wondered if you faced a similar problem. During compilation I'm getting the errors:

CD3D9ShaderMaterialRenderer.cpp undefined reference to 'D3DXAssembleShader@28'
CD3D9ShaderMaterialRenderer.cpp undefined reference to 'D3DXAssembleShader@28'
CD3D9ShaderMaterialRenderer.cpp undefined reference to 'D3DXAssembleShader@28'
CD3D9ShaderMaterialRenderer.cpp undefined reference to 'D3DXAssembleShaderFromFileA@24'
CD3D9ShaderMaterialRenderer.cpp undefined reference to 'D3DXCompileShader@40'

Both the include file and the d3dx9.lib file containing these troublesome functions are included and linked as described in the tutorial, so I'm a bit unsure as to why they can't be found.

Posted: Fri May 18, 2007 12:16 am
by virtual x
Hmm... to be honest with you I'm not too sure why, I used the Feb 2007 DirectX SDK, perhaps Irrlicht 1.3 was developed with a slightly older directx sdk and something was either added or changed in the new one, that's all I can think of really. I tested the DLL with alll the examples and they worked fine, so I wouldn't worry to much until you start using shaders lol.

sorry I couldn't be of anymore help