GUI does not show examples

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
Guest

GUI does not show examples

Post by Guest »

Hi,

whenever i execute any of the examples delivered with the engine it compiles, and instantly goes back to the GUI without promting any error or showing the samples.
For a short glimpse there is also a console window, but that also disappears after compiling is finished.

My GUI is Dev-C++.

Does anybody know the problem?

Greetz,
Neo
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

The console most likely has the message.

"Could not find irrlicht.dll"

Copy the irrlicht.dll to where you are deploying your application.
Crud, how do I do this again?
Guest

Post by Guest »

Actually there was an error prompt when I compiled the first example project again...as you said the DLL was not found.

But this is not "my" application, its one of the irrlicht examples so it should work without deploying the DLL in each example folder, shouldn't it?

But nevertheless I will try to do so :)

Thanx for your help,
Neo
thesmileman
Posts: 360
Joined: Tue Feb 10, 2004 2:20 am
Location: Lubbock, TX

Post by thesmileman »

that is incorrect. The DLL MUST be in the same folder as any application. The examples are applications excatly like yours.
zateam

actually

Post by zateam »

actually, if you put the DLL in the windows/system32/ folder on windows pc's, you dont need it in every folder anymore
Guest

Post by Guest »

Ok thanks, i will try it this way.
I recently recognized, that some other users do also have this problem.
Maybe the cause of it is the usage of Dev-CPP...but i don't know any other GUI, because i am new to Cpp.
I should take a closer look at the other threads where is problem is mentioned.

Neo
Guest

Post by Guest »

"actually, if you put the DLL in the windows/system32/ folder on windows pc's, you dont need it in every folder anymore"

Thats not a good way to do it !
Imagine you get future versions and forget to copy dll to system, you may
encounter more "strange" problems...
Guest

Post by Guest »

But if i should not copy the DLL into the system32 dir, what am I supposed to do else? I don't want to copy the DLL in each project I just view...isn't there any other way?
Tyn
Posts: 932
Joined: Thu Nov 20, 2003 7:53 pm
Location: England
Contact:

Post by Tyn »

Depends. Every game I've ever seen copies it to the Win32 folder, but the difference is that they are finished products with installers. In my view it is better to have it in the same folder as the game all the time as putting it in the Win folder could lead to having the wrong file in there, it's certainly not unprofessional to copy DLL's to the Win32 folder tho, that's what the System folder is for.
Post Reply