looko
14-11-2008 16:10:43
Hey I have problem with parsing my osm scene to program
Code:
And the linker errors
1
2
OGRE.obj : error LNK2019: unresolved external symbol "public: __thiscall OSMScene::OSMScene(class Ogre::SceneManager *,class Ogre::RenderWindow *)" (??0OSMScene@@QAE@PAVSceneManager@Ogre@@PAVRenderWindow@2@@Z) referenced in function "protected: virtual void __thiscall MyApp::createScene(void)" (?createScene@MyApp@@MAEXXZ)
3
D:\aplikacje\aplikejszyn.exe : fatal error LNK1120: 3 unresolved externals
I done this with manual, and help from ofusion support but it doesnt working. Maybe do you know some tutorials about parsing scene in program?
Best regards
Code:
OSMScene* oScene = new OSMScene();
OSMSceneCallbacks *Callback = new OSMSceneCallbacks;
mSceneMgr->setAmbientLight(ColourValue(0,0,0));
mSceneMgr->setShadowTechnique( SHADOWTYPE_STENCIL_ADDITIVE );
oScene->initialise("scena.osm", Callback);
oScene->createScene();
And the linker errors
1
OGRE.obj : error LNK2019: unresolved external symbol "public: bool __thiscall OSMScene::createScene(class Ogre::SceneNode *)" (?createScene@OSMScene@@QAE_NPAVSceneNode@Ogre@@@Z) referenced in function "protected: virtual void __thiscall MyApp::createScene(void)" (?createScene@MyApp@@MAEXXZ)
OGRE.obj : error LNK2019: unresolved external symbol "public: bool __thiscall OSMScene::initialise(char const *,class OSMSceneCallbacks *)" (?initialise@OSMScene@@QAE_NPBDPAVOSMSceneCallbacks@@@Z) referenced in function "protected: virtual void __thiscall MyApp::createScene(void)" (?createScene@MyApp@@MAEXXZ)
2
OGRE.obj : error LNK2019: unresolved external symbol "public: __thiscall OSMScene::OSMScene(class Ogre::SceneManager *,class Ogre::RenderWindow *)" (??0OSMScene@@QAE@PAVSceneManager@Ogre@@PAVRenderWindow@2@@Z) referenced in function "protected: virtual void __thiscall MyApp::createScene(void)" (?createScene@MyApp@@MAEXXZ)
3
D:\aplikacje\aplikejszyn.exe : fatal error LNK1120: 3 unresolved externals
I done this with manual, and help from ofusion support but it doesnt working. Maybe do you know some tutorials about parsing scene in program?
Best regards