There are a couple of places in the unmodified helloworld.cpp that test to make sure a resource was loaded properly and if not it doesn't try to "robustly" handle the error, but rather, "fails gracefully". In particular...
Code: Select all
IAnimatedMesh* mesh = smgr->getMesh("../../media/sydney.md2");
if (!mesh)
{
device->drop();
return 1;
}
IAnimatedMeshSceneNode* node = smgr->addAnimatedMeshSceneNode( mesh );
...would allow your program to compile, bring up a window, not show the "lady" [although I'm not sure you could call anyone who dresses like that a "lady"

] and then just simply close/terminate the program
if for some reason it failed to find sydney's path, i.e.
"../../media/sydney.md2".
Did you install Irrlicht to a non-standard location? Because if so, you'll need to change the "../.. " part of the path before "media/sydney.md2" to something else.