Missing Irrlicht.dll

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
nazzzux
Posts: 2
Joined: Tue Mar 17, 2009 5:12 pm

Missing Irrlicht.dll

Post by nazzzux »

Hey!
I have a problem with my irrlicht. It all started when I edited the example by misstake and wanted the original back. I replaced the whole irrlicht directory with a new one, and since that I get an error message, each time I try to run an irrlicht file, saying "This application has failed to start because Irrlicht.dll was not found. Re-installing the application may fix this problem.". I am using CodeBlocks on Windows XP. I've tried reinstalling both CodeBlocks and Irrlicht.
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

It can't find Irrlicht.dll, which it needs, the easiest way to fix it and make it nicely portable to other PCs is to just have the Irrlicht.dll in the same folder as the .exe.
Image Image Image
nazzzux
Posts: 2
Joined: Tue Mar 17, 2009 5:12 pm

Post by nazzzux »

I tried to copy the Irrlicht.dll from the Win32-gcc directory, and it helped alittle. Now it gets all the way to opening the file without whining, but then it says "DIRECT3D9 Driver was not compiled into this dll. Try another one." And the only other Irrlicht.dll is the one in the Win32-VisualStudio directory, and that doesn't work either. Is there any way to download a working Irrlicht.dll?
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

That dll from the win32 folder was compiled without DX support, the visual studio dll was compiled with DX support but won't work unless you're using MSVC as your compiler, which it appears you're not.

If you want a win32 dll (that will work with the likes of code::blocks, devc++ etc) that has DX support search the forum for IrrDX and you'll find a thread in the code snippets forum (i think) which provides such a dll for all versions of irrlicht, just go to the last page ;)
Image Image Image
abhishekdey1985
Posts: 102
Joined: Sat Jan 17, 2009 4:33 am
Location: Pune
Contact:

Post by abhishekdey1985 »

Download DX SDK, install headers and libraries. and download the following tool by 'Jiang' known as irrBuild:
http://sourceforge.net/project/showfile ... _id=248344

Refer: http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=31998

Thanx to Jiang!
I work on "The Best Real-Time 3D Engine"
keffertjuh
Posts: 8
Joined: Thu Mar 12, 2009 1:47 pm

To continue this...

Post by keffertjuh »

I'm kind of stupid, so could you rephrase this in a way I understand what to do?
I'm up to the point where you move the irrlicht.dll elsewhere, but I don't understand which .dll (there's 2 different sizes) and exactly whereto...
Also, I think I have the SDK add-on for microsoft visual studio (got it from the site, followed instructions (set certain directories and stuff), was a pretty big add-on; so better be useful >.<), but I'm not sure, so I could use some confirmation there as well...
And that last tool, IrrBuild, I haven't looked at it yet, I will as soon as I know where to put which dll, does that install itself to be used by visual studio or something???

Help out a stupid noob ;)

Thank you.
May the LOL be with you!!!
Alpha Omega
Posts: 288
Joined: Wed Oct 29, 2008 12:07 pm

Post by Alpha Omega »

If you are new to programming or irrlicht I would advise against using DirectX in general since it can be confusing for a novice to understand exactly what is going on. If you want to use Irrlicht and start writing code just use devC++ or Code Blocks as your IDE(both use MingW as compiler) so you can use the gcc built Irrlicht.dll file. This way you wont have to download the massive Microsoft Direct X headers and libraries and can still get what you want from Irrlicht. Just when you write your code make sure to specify to use the OPENGL driver instead of the DirectX9 driver. Then when you become familiar with the process upgrade to the Microsoft DirectX dependent programs if that is what you want to use.
Post Reply