interesting irrlicht 1.3.1 project prob..

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
neil
Posts: 12
Joined: Fri Sep 28, 2007 1:04 am

interesting irrlicht 1.3.1 project prob..

Post by neil »

while compiling http://www.twilightstar.net/~andrew/wor ... torial.htm I receive some errors probably because this project was built with an earlier version of irrlicht. Could someone point out what would need to be changed to fix this annoying error? thank you.

error:
error C2259: 'CPhysXAnimatedMeshSceneNode' : cannot instantiate abstract class due to following members:
'void irr::scene::IAnimatedMeshSceneNode::setAnimationSpeed(irr::f32)' : is abstract
see declaration of 'irr::scene::IAnimatedMeshSceneNode::setAnimationSpeed'
irr::scene::ISceneNode *irr::scene::IAnimatedMeshSceneNode::getB3DJointNode(const irr::c8 *)' : is abstract
see declaration of 'irr::scene::IAnimatedMeshSceneNode::getB3DJointNode'
'irr::s32 irr::scene::IAnimatedMeshSceneNode::getFrameNr(void) const' : is abstract
see declaration of 'irr::scene::IAnimatedMeshSceneNode::getFrameNr'
'irr::s32 irr::scene::IAnimatedMeshSceneNode::getStartFrame(void) const' : is abstract
see declaration of 'irr::scene::IAnimatedMeshSceneNode::getStartFrame'
'irr::s32 irr::scene::IAnimatedMeshSceneNode::getEndFrame(void) const' : is abstract
see declaration of 'irr::scene::IAnimatedMeshSceneNode::getEndFrame'
'void irr::scene::IAnimatedMeshSceneNode::setReadOnlyMaterials(bool)' : is abstract
see declaration of 'irr::scene::IAnimatedMeshSceneNode::setReadOnlyMaterials'
'bool irr::scene::IAnimatedMeshSceneNode::isReadOnlyMaterials(void)' : is abstract
see declaration of 'irr::scene::IAnimatedMeshSceneNode::isReadOnlyMaterials'
'void irr::scene::IAnimatedMeshSceneNode::setMesh(irr::scene::IAnimatedMesh *)' : is abstract
see declaration of 'irr::scene::IAnimatedMeshSceneNode::setMesh'
'irr::scene::IAnimatedMesh *irr::scene::IAnimatedMeshSceneNode::getMesh(void)' : is abstract
see declaration of 'irr::scene::IAnimatedMeshSceneNode::getMesh'
'const irr::scene::SMD3QuaterionTag &irr::scene::IAnimatedMeshSceneNode::getMD3TagTransformation(const irr::core::stringc &)' : is abstract
see declaration of 'irr::scene::IAnimatedMeshSceneNode::getMD3TagTransformation'[/code]

I would appreciate some help, i cannot solve this problem on my own...
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You have to change the method signatures to match the interface signatures. This usually means to make methods const or change from s32 to u32. Just check IAnimatedMeshSceneNode.h
Post Reply