CaseyB
22-04-2006 01:27:32
When I use nxOgre::scene::findBody() find body I get a really strange linker error! It says
Listener.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class nxOgre::body * __thiscall nxOgre::scene::findBody(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (__imp_?findBody@scene@nxOgre@@QAEPAVbody@2@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
I call it like thisnxScene->findBody("Guy")->addForce(Vector3(0, 1, 0));
am I doing something wrong?