Cannot Find 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
Ferral
Posts: 2
Joined: Mon Mar 01, 2010 6:43 am

Cannot Find Irrlicht.dll

Post by Ferral »

Hello. I recently downloaded Irrlicht 1.7.1, wanting to start off in the direction of making my own games. I started off by heading straight to the included tutorails. I typed it up myself, and whenever i build the project, it builds sucessfully, yet i get the error "Cannot find Irrlicht.ddl, try reinstalling the program" Ive done that twice, among other things. The uncompilled projects that come with the tutorail will build and run fine, yet when i copy that code over to my project, it get the same error....Any ideas on whats wrong?

Im using the latest version of Microsoft Visual C++ 2008 Express, by the way, if that helps.
pippy3
Posts: 155
Joined: Tue Dec 15, 2009 7:32 am

Post by pippy3 »

You must copy irrlicht.dll into the same folder as the .exe file your code produces.

Depending on where your compiler makes the file, (usually \irrlicht-1.7.1\bin\<platform>) you must put the dll. You're probably on Win64-VisualStudio so you'll have to make your own dll first, you can do this by reading the .txt file in this folder and following the instructions.

good luck!
digoxy
Posts: 51
Joined: Wed Feb 17, 2010 3:55 pm
Location: Currently Germany.

Post by digoxy »

Hello Ferral,

I ran into this early as well. Pippy is correct, and a simple copy of the irrlicht.dll to your project directory will work, you can try the included one, it is found in bin/win32/visualstudio.

You may also consider moving your DLL's that you may be using with your projects into a single folder somewhere and include this folder in your MSVC++ directory's that it looks in. This I found saved a lot of copy/move etc when compiling new projects.

If your new to IrrLicht, know that there are some wonderful people on here that are very helpful. the trick here is to read, read, read and then read some more. :)

Good luck in your adventures!
digz..
Grandma-- / Grandpa --
freecell
Posts: 4
Joined: Sun Feb 28, 2010 10:24 am

Re: Cannot Find Irrlicht.dll

Post by freecell »

Ferral wrote:Any ideas on whats wrong?
Maybe you're nup?
Ferral
Posts: 2
Joined: Mon Mar 01, 2010 6:43 am

Post by Ferral »

Thanks for the help guys! Im pretty new to C++, so im just catching on to this stuff =P Ill have this down in no time after i get through the first week, like when i worked with LUA....I hope. xD
Post Reply