Linker error for oFusion loader

Mobius

14-11-2006 22:06:46

I have this problems when i'm compiling.

Errors:

Main.obj : error LNK2001: unresolved external symbol "public: bool __thiscall OSMScene::createScene(class Ogre::SceneNode *)" (?createScene@OSMScene@@QAE_NPAVSceneNode@Ogre@@@Z)
Main.obj : error LNK2001: unresolved external symbol "public: bool __thiscall OSMScene::initialise(char const *,class OSMSceneCallbacks *)" (?initialise@OSMScene@@QAE_NPBDPAVOSMSceneCallbacks@@@Z)
Main.obj : error LNK2001: unresolved external symbol "public: __thiscall OSMScene::~OSMScene(void)" (??1OSMScene@@QAE@XZ)
Main.obj : error LNK2001: unresolved external symbol "public: __thiscall OSMScene::OSMScene(class Ogre::SceneManager *,class Ogre::RenderWindow *)" (??0OSMScene@@QAE@PAVSceneManager@Ogre@@PAVRenderWindow@2@@Z)

please help me..

Lioric

15-11-2006 18:37:59

You need to add the 'OgreOSMScene.cpp' file to your project

See the "Integrating in your application" page of the "Scene Loader" chapter in the User's Guide