Page 1 of 1

Help! Hello World crashes

Posted: Thu May 19, 2005 3:07 pm
by Sepia
Hello and thank you for being so useful. I managed to fix my problem, by changing my compiler and configuring the libraries and directories properly.
Unfortunately, however, the tutorial crashes when I launch it.

Has anyone had this experience before and if so, how did you resolve. it?

Any possibility that is may have something to do with the

createDevice(EDT_SOFTWARE, dimension2d<s32>(512, 384), 16,

In the tutorial it suggested changing the EDT_SOFTWARE setting, which I tried, but still get the same results.

Posted: Thu May 19, 2005 3:37 pm
by Reverie
What error(s) are you getting? And what platform/compiler/language/etc?

RE: Hello World Crash

Posted: Thu May 19, 2005 6:08 pm
by Sepia
Reve..

Thank you for your replay. I am using Using Windows XP with DEV C++ and programming in C++.

DEV C++ appears to compile the program correctly, but when I RUN the application it does open and opens a error message Window stating that it has encountered some errors. And, lastly it asks if it wants me to send a report of the problem. Basically a standard message someone would receive when a program crashes for no reason.

Posted: Thu May 19, 2005 11:15 pm
by Acki
Hmm, I sometimes have the same problem...
But always I forgot to check if all used files (meshes & textures) can be found by the prog !!!
So be shure all needet files are in the right place, so your prog can find them !!!

Posted: Fri May 20, 2005 12:06 am
by Guest
I check the location of the files and I believe everything is fine. I must say I did put the Irrlicht.dll files in the directory of the project. Should they be located somewhere?

Posted: Fri May 20, 2005 12:52 am
by darkraven
did you try this with EDT_SOFTWARE driver set and if so did it give you the same error. If I can remember a while back I got the error when I had used any of the directx9 or 8 settings but worked when I used the software and opengl device type. But this may not be the problem you are having.

Posted: Fri May 20, 2005 6:40 am
by Guest
Well, I've tried pretty much every combination I could think of and retyped the code. Yet, I still can get rid of the damn error message. Does anyone know if the paths for the mash file need a special reference. Any help is greatly appreciated.

I've the same error ...

Posted: Fri May 20, 2005 12:47 pm
by Quosa
I use the sameconfiguration (Dev. 4.9.9.2/WinXP,SP2,and the Irrlicht 0.9.dll located in the same directory)

Could it be an Problem since 0.9? In preavious Versions my was functioning. Ich retyped the hello world demo but it still doesn't func.
:(

Posted: Sat May 21, 2005 9:49 am
by bearSoft
u could try to place the dll in
C:\WINDOWS\SYSTEM32

OBS! this lib exists in my win -if it is named otherwise in xp .. i dont know!!
prpl. someone else will assist with that?

else..
at what specific time does ur app crash eg how 'deep' into the build process does u get
most important : is it after or before the driver selection console?

nb -the crash on dx options is a pest of mine to, i can use opengl only..
several threds debate this problem

Posted: Sun May 22, 2005 12:29 pm
by Acki
Maybe you're using a screen dimension, the your grafics card doesn't support (in fullscreen mode)...

Code: Select all

dimension2d<s32>(512, 384)
try for example:

Code: Select all

dimension2d<s32>(800, 600)