I have never used Irrlicht before today - and am fairly new to CPP also.
Anyway, was browsing the Code Snippet section and found a Camera which is perfect for my game. Followed the instructions :
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=17066
However it gives this error:
Code: Select all
main.cpp:67: error: cannot allocate an object of type `RTSCamera'
main.cpp:67: error: because the following virtual functions are abstract:
C:/irrlicht-1.4/irrlicht-1.4/include/ICameraSceneNode.h:47: error: virtual const irr::core::matrix4& irr::scene::ICameraSceneNode::getProjectionMatrix() const
C:/irrlicht-1.4/irrlicht-1.4/include/ICameraSceneNode.h:51: error: virtual const irr::core::matrix4& irr::scene::ICameraSceneNode::getViewMatrix() const
C:/irrlicht-1.4/irrlicht-1.4/include/ICameraSceneNode.h:79: error: virtual irr::f32 irr::scene::ICameraSceneNode::getNearValue() const
C:/irrlicht-1.4/irrlicht-1.4/include/ICameraSceneNode.h:83: error: virtual irr::f32 irr::scene::ICameraSceneNode::getFarValue() const
C:/irrlicht-1.4/irrlicht-1.4/include/ICameraSceneNode.h:87: error: virtual irr::f32 irr::scene::ICameraSceneNode::getAspectRatio() const
C:/irrlicht-1.4/irrlicht-1.4/include/ICameraSceneNode.h:91: error: virtual irr::f32 irr::scene::ICameraSceneNode::getFOV() const
C:/irrlicht-1.4/irrlicht-1.4/include/ICameraSceneNode.h:120: error: virtual bool irr::scene::ICameraSceneNode::isInputReceiverEnabled() const
Anyhelp as to why this is happeneing would be brilliant.
Thanks
Andy