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

A forum to store posts deemed exceptionally wise and useful
Post Reply
virtual x
Posts: 19
Joined: Sun Mar 25, 2007 8:48 pm

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

Post 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.
Last edited by virtual x on Wed Mar 28, 2007 6:41 pm, edited 1 time in total.
roxaz
Posts: 575
Joined: Tue Jan 23, 2007 8:35 pm
Location: LT

Post by roxaz »

thank you sooo much! could you post a tutorial how to compile it with all dx stuff supported?
virtual x
Posts: 19
Joined: Sun Mar 25, 2007 8:48 pm

Post 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
virtual x
Posts: 19
Joined: Sun Mar 25, 2007 8:48 pm

Post 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!
roxaz
Posts: 575
Joined: Tue Jan 23, 2007 8:35 pm
Location: LT

Post by roxaz »

i love beer, girls and tutorials, thx man ;)
Helderash
Posts: 49
Joined: Sun Mar 25, 2007 8:41 pm

Post 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.
virtual x
Posts: 19
Joined: Sun Mar 25, 2007 8:48 pm

Post 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
Post Reply