Page 1 of 1

I can`t render directX

Posted: Fri Nov 17, 2006 8:50 pm
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?

Posted: Fri Nov 17, 2006 9:27 pm
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/

Posted: Fri Nov 17, 2006 9:58 pm
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 :)

Re: I can`t render directX

Posted: Fri Nov 17, 2006 9:59 pm
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 !!!

Re: I can`t render directX

Posted: Sat Nov 18, 2006 9:35 am
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?

Posted: Sat Nov 18, 2006 9:54 am
by blendermen
thank you for the help. I can now render directX.
Thanks :D

Posted: Sat Nov 18, 2006 2:52 pm
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...