Haveing Trouble Getting the Irrlicht Engine to work

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
cgcgames2
Posts: 24
Joined: Mon Jul 26, 2010 6:29 am

Haveing Trouble Getting the Irrlicht Engine to work

Post by cgcgames2 »

Hello Everyone

I am haveing Troubles getting the irrlicht engine to work. I have tried to do it in Dev C++ and in VC++ 2010.

i took the tutorial for hello world and put it togeather. but when i try to compile it the screen comes up blank and not responding. the it says it has an acess issue in VC++ on the line of code

rect<s32>(10,10,260,22), true); saying that "Unhandled exception at 0x1000439b in minintest.exe: 0xC0000005: Access violation reading location 0x00000031."

in Dev C++ when i tried it it comiled fine with know erros but still come up with the blank no respoding screen and when i went into debug mode it wouldn't let me set into the main block of code. Saying "an Access Violation (segmetation fault) rasied in your program"

im not the best at fixing problems lol. im not sure how easy this is to fix but i have been trying to fix it for about 3 hours and i thought maybe it be best if i just asked.

Thanks for the help

cgcgames
Ion Dune
Posts: 453
Joined: Mon Nov 12, 2007 8:29 pm
Location: California, USA
Contact:

Post by Ion Dune »

Have you tried compiling the solution files including in the SDK /examples folder? If not, what source code are you using? The error you have is almost definitely the result of using a null pointer, which could mean that the Irrlicht device failed to initialize. Is there any output in the console window?
cgcgames2
Posts: 24
Joined: Mon Jul 26, 2010 6:29 am

Post by cgcgames2 »

:D:D:D:D:D:D:D:D:D:D

finaly got it lmao. i just relise what was happeneing XD. it wasnt finding the location of the model and the texture so when it was loading it returning nothing. therefore screwing with the code and not making anything load :)

thanks for the help btw

i would of never figured it out inless you pointed me to the code included with the engine :). for some reason the code from the site was giving me a diffrent output error.

anyway thanks for the help

cgcgames
Post Reply