Trying the Quake Map Tutorial and its crashing

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
webnoob
Posts: 17
Joined: Mon Aug 20, 2007 9:28 pm

Trying the Quake Map Tutorial and its crashing

Post by webnoob »

Hiya,

I have tried the tutorial and it compiles and starts loading and crashes with the normal windows error (the send error report one). It crashed after the line "needed 36ms to create OctTree SceneNode".

Has anyone else had this problem? I have tried copy and pasting the code from the tutorial but get the same results.

Thanks in advance :)
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

No, it's working as expected. Also Try examples 7 and 16 which also use q3 maps.
webnoob
Posts: 17
Joined: Mon Aug 20, 2007 9:28 pm

Post by webnoob »

Well I have managed to pin point the cause of the problem and now everything works fine, but I have the mouse in the middle of my screen :), this line:

Code: Select all

device -> getCursorControl() -> setVisible(false);
Any ideas why this would cause a crash?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Yes, someone reported this to fail in Irrlicht 1.1 precompiled Linux version. So I assume you're using a very old version of Irrlicht somehow. Just recompile the dll and you're fine. But an even better idea would be to update...
webnoob
Posts: 17
Joined: Mon Aug 20, 2007 9:28 pm

Post by webnoob »

I have downloaded the latest version :? 1.3 I think
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

But you're using Linux? Then recompile and check your project settings. Maybe you use a library from some different directory.
webnoob
Posts: 17
Joined: Mon Aug 20, 2007 9:28 pm

Post by webnoob »

No, im using windows. Have I missed something? *

*Hard week at work and brain is lacking processing power :)
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

No :lol: It's just that we had this problem once with Linux. Just be sure that your download was ok and that no console output shows an error. If it still fails you should recompile from scratch.
webnoob
Posts: 17
Joined: Mon Aug 20, 2007 9:28 pm

Post by webnoob »

What file is it that is causing the problem?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

That's what you have to find out...
Post Reply