I am using irrlich on Dev C++ and I am getting some trouble.
I already runned some examples working, but it crashed twice here.
the 1st crash happen when i try to use DirectX 8 or 9. I put video::EDT_DIRECTX9 (or
the 2nd crash is happening when i try to run the 4th tutorial (http://irrlicht.sourceforge.net/tut004.html). It is happening when i try to use (creating is ok) the IAnimatedMeshSceneNode object.
The problem in the tutorial 4 is happening in these lines:
anms->addAnimator(anim);
anim->drop();
anms->setMaterialFlag(video::EMF_LIGHTING, false);
anms->setFrameLoop(320, 360);
anms->setAnimationSpeed(30);
anms->setRotation(core::vector3df(0,180.0f,0));
anms->setMaterialTexture(0, driver->getTexture("../../media/sydney.BMP"));
anms is the IAnimatedMeshSceneNode object. then i coment these lines the program work fine.
I am not getting any debug messages then it crashes.
Here are the versions im using:
- Dev C++ 4.9.9.2
- Windows XP
- irrlicht 0.12.0
- DirectX 9.0c (4.09.0000.0904)
Please help!!!