CCameraSceneNode Inheretence
Posted: Sat Feb 07, 2004 12:36 am
I decided to start fooling around with this some more and maybe beign sick is making me not thin properly but for some reason every time I try
using namespace irr;
class ccamera : public scene::CCameraSceneNode
{
.. standard constructor etc ..
};
All this is fine and the constructor passes appropraite info to the CCameraSceneNode constructer ala
CCamera::CCamera(scene::ISceneNode* parent, scene::ISceneManager*mgr, s32 id) : CameraSceneNode(parent, mgr, id)
{
}
this all seems fine, but when it gets to the link process I get a ton of LNK2001 unresolved external errors complaining about a ton of functions like OnEvent, OnPostRender and on and on (basically all the methods in CCameraSceneNode it seems. Im either just missing something or didnt set things up properly (namespaces im not as familiar with as I would like to be).
Any ideas why this is going on?
Chris
using namespace irr;
class ccamera : public scene::CCameraSceneNode
{
.. standard constructor etc ..
};
All this is fine and the constructor passes appropraite info to the CCameraSceneNode constructer ala
CCamera::CCamera(scene::ISceneNode* parent, scene::ISceneManager*mgr, s32 id) : CameraSceneNode(parent, mgr, id)
{
}
this all seems fine, but when it gets to the link process I get a ton of LNK2001 unresolved external errors complaining about a ton of functions like OnEvent, OnPostRender and on and on (basically all the methods in CCameraSceneNode it seems. Im either just missing something or didnt set things up properly (namespaces im not as familiar with as I would like to be).
Any ideas why this is going on?
Chris