I can`t render directX

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
blendermen
Posts: 14
Joined: Sat Mar 11, 2006 11:11 am

I can`t render directX

Post by blendermen »

Hi. I allways rendered OpenGl but lately when i render OpenGl screen dissapear and blur. I see nothink. I cannot render Direct becaus in console write"direct was not compile in this .dll" What can i do?
I write in DevC++

Ps.sorry for my english :) i learn english too and from this i have problems too :)
What my english. What you think.Can be?
Irrlicht is really simple - just try !!
zeno60
Posts: 342
Joined: Sun May 21, 2006 2:48 am
Location: NC, USA
Contact:

Post by zeno60 »

Include the directx dll in the folder or link to it within the DevC++ project options. Download the DX3D SDK to get the dll's.

http://msdn.microsoft.com/directx/
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

You can download this .zip: http://www.gprogs.com/gg.Irrlicht/IrrDX_v1_1.zip

It contains 3 .dll files. 2 for directx and one for irrlicht 1.1. If you place all 3 into your application's folder it'll work :)
Image Image Image
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Re: I can`t render directX

Post by Acki »

blendermen wrote:"direct was not compile in this .dll" What can i do?
Compile DX into the dll !!! ;)
Have a search on the forum for tutorials for this, or simply use my IrrExtensions !!!
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Re: I can`t render directX

Post by sio2 »

Acki wrote:
blendermen wrote:"direct was not compile in this .dll" What can i do?
Compile DX into the dll !!! ;)
Have a search on the forum for tutorials for this, or simply use my IrrExtensions !!!
But am I right in thinking that DevC++ can't link in those MS dx libs? So you have to use some kind of wrapper layer and a DevC++ lib for the wrapper dll?
blendermen
Posts: 14
Joined: Sat Mar 11, 2006 11:11 am

Post by blendermen »

thank you for the help. I can now render directX.
Thanks :D
Irrlicht is really simple - just try !!
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

@sio: right the MS-DX sdk doesn't work with GCC/MinGW (C::B, Dev) !!!
You'll have to use the DX DevPack for this !!!
A link to the DevPack can be found on my page...

http://irrlicht.spintz.com/downloads/DirectX9.DevPak

Just untar the archive (it's simply a TAR archive) and copy all needed files (includes, libs and dlls) to your compiler's dirs...
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Post Reply