Tutorial, DevC++ Help

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
Erik

Tutorial, DevC++ Help

Post by Erik »

On the tutorial, http://irrlicht.sourceforge.net/tut_devcpp.html, I came across when it said


Step 5 -- Using the Irrlicht DLL at Runtime
In order to run your applications from within Dev-C++, for debugging, or just for the sake of not having to go outside the IDE to run them, the "irrlicht.dll" supplied with Irrlicht must be in your PATH. With Windows, there are two simple ways to do this:

Add the "irrlicht-0.3\bin" directory from Step 1 to your PATH.
Copy "irrlicht.dll" to your windows\system32 directory, which is in the PATH by default.
I'm not sure that any one method is better than the other -- I use the first one in my programs, but both work.


I do not understand what the tutorial is asking me to do, but I'd be very thankful if someone would explain to me what I need to do.

Thank you,

Erik
jam
Posts: 409
Joined: Fri Nov 04, 2005 3:52 am

Post by jam »

Every program that you create that uses Irrlicht needs the file "Irrlicht.dll" to run. This step is just telling you some of the ways you can setup your machine so that your program can find "Irrlicht.dll".

In my opinion it would be best and easiest, to just copy the "Irrlicht.dll" file to where your projects ".exe" is located. That way you won't have to mess with the path settings.
Erik

Post by Erik »

What exactly is the "PATH" that it speaks about? I'm still confused on what I should do.
Erik

Post by Erik »

Sorry for double-posting, but I also don't know where my project's .EXE is located. I'm terribly sorry for all the stupid quetsions, but I'm new, and trying to learn.

Thanks,

Erik
MikeR
Posts: 767
Joined: Sun Dec 26, 2004 4:03 pm
Location: Northern California USA
Contact:

Post by MikeR »

The Path that's being talked about is where a program automatically looks for the dll. In order to figure out where your exe file is, from a program you wrote, open dev-cpp, then click "file" "open project" and look at where that is at. That's where your exe will be placed by dev-cpp.
If it exists in the real world, it can be created in 3d

Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
jam
Posts: 409
Joined: Fri Nov 04, 2005 3:52 am

Post by jam »

MikeR wrote:The Path that's being talked about is where a program automatically looks for the dll. In order to figure out where your exe file is, from a program you wrote, open dev-cpp, then click "file" "open project" and look at where that is at. That's where your exe will be placed by dev-cpp.
much better explanation than mine 8) thanks MikeR
Post Reply