Programming crashing after loading texture!

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
pszlachetka
Posts: 23
Joined: Mon Aug 30, 2004 12:30 am

Programming crashing after loading texture!

Post by pszlachetka »

Sorry. Me again. I think there's something wrong with my actual computer, cause the code compiles on another guy's machine flawlessly. It loaded the bmp and displayed it perfectly. However, the code is crashing on the driver->getTexture() line for me. I'd like for a few people to try to compile the code, and run the .exe. I've got everything including the bmp in a zip file. Please do this, and report back if it worked or crashed for you. Thanks!

Here's the zip file: http://www.geocities.com/pszlachetka/Pr ... shpong.zip

-Peter
johnjones
Posts: 5
Joined: Sun Sep 05, 2004 1:12 am

Post by johnjones »

When you run an app from inside VisualC++ it runs from the same directory that the project is in even though the exe is actually stored in the /debug or /release folder. So, if you put the images in /debug and try to run inside VC++ they will not get loaded, and same problem if you run from /debug and are using ../../ type stuff.
Post Reply