Problem with setting up Irr on Dev-cpp (or running it).

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
Netaro
Posts: 5
Joined: Fri Feb 09, 2007 10:27 pm

Problem with setting up Irr on Dev-cpp (or running it).

Post by Netaro »

Well, hello!
So, i decided to make something more than simple c++ console apps, so i tried using Irrlicht. But, as it is in my custody, i had to screw up something...
So, i->
Created a new dev_cpp template for irrlicht, where i put #include<Irr/irrlicht.h>, using namespace..., #pragma comment(lib, "Irrlicht.lib"), and an empty main(){}.
moved entire include folder to dev_cpp include (as can be seen above in the include command.)
Then i set consolidator (dunno how it is spelled in english :(), which is libIrrlich.a in c:/irrlicht/lib/Win32.
Afterwards, i set library catalogue as c:/irrlicht/lib, and includes as Irr/.
Made a simple hello world, and compiled. No errors, but the window... it appeared, and dissapeared. Tried to stop it, by adding iostream, creating a variable, and cin>> the variable. Window also dissapeared. So, i cannot do anything, and i do not know why it happens.
Do you know how to "correct" it?
Oh well, still a beginner i am...
arras
Posts: 1622
Joined: Mon Apr 05, 2004 8:35 am
Location: Slovakia
Contact:

Post by arras »

Netaro
Posts: 5
Joined: Fri Feb 09, 2007 10:27 pm

Post by Netaro »

I forgot to put the dll in system32 :(
I haven't noticed that. Anyway, thanks for help!
Post Reply