Page 1 of 1

Trying the Quake Map Tutorial and its crashing

Posted: Mon Aug 20, 2007 11:20 pm
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 :)

Posted: Mon Aug 20, 2007 11:34 pm
by hybrid
No, it's working as expected. Also Try examples 7 and 16 which also use q3 maps.

Posted: Tue Aug 21, 2007 7:37 pm
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?

Posted: Tue Aug 21, 2007 8:15 pm
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...

Posted: Tue Aug 21, 2007 9:58 pm
by webnoob
I have downloaded the latest version :? 1.3 I think

Posted: Tue Aug 21, 2007 10:49 pm
by hybrid
But you're using Linux? Then recompile and check your project settings. Maybe you use a library from some different directory.

Posted: Fri Aug 24, 2007 5:18 pm
by webnoob
No, im using windows. Have I missed something? *

*Hard week at work and brain is lacking processing power :)

Posted: Fri Aug 24, 2007 8:23 pm
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.

Posted: Fri Aug 24, 2007 8:30 pm
by webnoob
What file is it that is causing the problem?

Posted: Fri Aug 24, 2007 9:23 pm
by hybrid
That's what you have to find out...