Demo crashes after succesfully compiled

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
Trynox
Posts: 1
Joined: Wed Sep 02, 2009 12:28 am

Demo crashes after succesfully compiled

Post by Trynox »

Hello,

I'm using DevC++ and the Irrlicht 1.5.1 including the following directories:
irrlicht-1.5.1\include
irrlicht-1.5.1\examples\Demo

and the libraries
/../lib/win32-gcc/libirrlicht.a
/.../lib/win32-gcc/libIrrklang.a

and when I'm trying to compile the demo code in the examples directory downloaded from Sourceforge it compiles succesfully, however after launching the program and configuring the options (realtimeshadows, antiliasing..) the program just closes without any error, making it hard to find out what's the problem

Kind regards,
Trynox
Lil Margin
Posts: 212
Joined: Sun Jul 19, 2009 4:24 am
Location: Netherlands Antilles, Curacao

Post by Lil Margin »

its hard to say whats the problem without to see your source code :/
CuteAlien
Admin
Posts: 9716
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

Can you compile with debug and check in which line it crashes?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
JeroenP
Posts: 11
Joined: Sat Jun 20, 2009 7:05 pm
Location: Belgium
Contact:

Re: Demo crashes after succesfully compiled

Post by JeroenP »

Trynox wrote:the program just closes without any error
Maybe the program is just exiting because it can not find a resource, or it's not able to initialize the device.

Code: Select all

if (!device)
	return;
Jeroen
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

dang that's really weird... if the code compiles it shouldn't crash, right? :shock:
Image Image Image
Post Reply