Linking errors when trying to add the theora control to TGE1.3
by Mattias Oldenborg · in Torque Game Engine · 11/01/2006 (4:10 am) · 0 replies
From what the headline tells you can probably figure that this error originates from a quite unorthodox way of using the engine. For some quick and dirty presentation purposes I need the Theora Gui controller, however I don't have time for the whole 1.5 upgrade so what I tried to do was pick this specific part and put it into my old TGE1.3 project.
Everything worked fine up til the linking step where the below errors arise. I have added the theora_static.lib file to the project so this shouldn't be the problem, but after doing this I'm a bit at loss of what to do so if someone has tried this before or knows what could solve the problem I'm thankfull for any answers.
guiTheoraCtrl.obj : error LNK2019: unresolved external symbol "public: __thiscall TheoraTexture::~TheoraTexture(void)" (??1TheoraTexture@@QAE@XZ) referenced in function __unwindfunclet$??0GuiTheoraCtrl@@QAE@XZ$0
guiTheoraCtrl.obj : error LNK2019: unresolved external symbol "public: __thiscall TheoraTexture::TheoraTexture(void)" (??0TheoraTexture@@QAE@XZ) referenced in function "public: __thiscall GuiTheoraCtrl::GuiTheoraCtrl(void)" (??0GuiTheoraCtrl@@QAE@XZ)
guiTheoraCtrl.obj : error LNK2019: unresolved external symbol "public: bool __thiscall TheoraTexture::setFile(char const *,bool,bool,struct Audio::Description *)" (?setFile@TheoraTexture@@QAE_NPBD_N1PAUDescription@Audio@@@Z) referenced in function "public: void __thiscall GuiTheoraCtrl::setFile(char const *)" (?setFile@GuiTheoraCtrl@@QAEXPBD@Z)
guiTheoraCtrl.obj : error LNK2019: unresolved external symbol "public: void __thiscall TheoraTexture::stop(void)" (?stop@TheoraTexture@@QAEXXZ) referenced in function "public: void __thiscall GuiTheoraCtrl::stop(void)" (?stop@GuiTheoraCtrl@@QAEXXZ)
guiTheoraCtrl.obj : error LNK2019: unresolved external symbol "public: void __thiscall TheoraTexture::refresh(void)" (?refresh@TheoraTexture@@QAEXXZ) referenced in function "public: virtual void __thiscall GuiTheoraCtrl::onRender(class Point2I,class RectI const &)" (?onRender@GuiTheoraCtrl@@UAEXVPoint2I@@ABVRectI@@@Z)
guiTheoraCtrl.obj : error LNK2019: unresolved external symbol "private: double __thiscall TheoraTexture::getTheoraTime(void)" (?getTheoraTime@TheoraTexture@@AAENXZ) referenced in function "public: double const __thiscall TheoraTexture::getCurrentTime(void)" (?getCurrentTime@TheoraTexture@@QAE?BNXZ)
Everything worked fine up til the linking step where the below errors arise. I have added the theora_static.lib file to the project so this shouldn't be the problem, but after doing this I'm a bit at loss of what to do so if someone has tried this before or knows what could solve the problem I'm thankfull for any answers.
guiTheoraCtrl.obj : error LNK2019: unresolved external symbol "public: __thiscall TheoraTexture::~TheoraTexture(void)" (??1TheoraTexture@@QAE@XZ) referenced in function __unwindfunclet$??0GuiTheoraCtrl@@QAE@XZ$0
guiTheoraCtrl.obj : error LNK2019: unresolved external symbol "public: __thiscall TheoraTexture::TheoraTexture(void)" (??0TheoraTexture@@QAE@XZ) referenced in function "public: __thiscall GuiTheoraCtrl::GuiTheoraCtrl(void)" (??0GuiTheoraCtrl@@QAE@XZ)
guiTheoraCtrl.obj : error LNK2019: unresolved external symbol "public: bool __thiscall TheoraTexture::setFile(char const *,bool,bool,struct Audio::Description *)" (?setFile@TheoraTexture@@QAE_NPBD_N1PAUDescription@Audio@@@Z) referenced in function "public: void __thiscall GuiTheoraCtrl::setFile(char const *)" (?setFile@GuiTheoraCtrl@@QAEXPBD@Z)
guiTheoraCtrl.obj : error LNK2019: unresolved external symbol "public: void __thiscall TheoraTexture::stop(void)" (?stop@TheoraTexture@@QAEXXZ) referenced in function "public: void __thiscall GuiTheoraCtrl::stop(void)" (?stop@GuiTheoraCtrl@@QAEXXZ)
guiTheoraCtrl.obj : error LNK2019: unresolved external symbol "public: void __thiscall TheoraTexture::refresh(void)" (?refresh@TheoraTexture@@QAEXXZ) referenced in function "public: virtual void __thiscall GuiTheoraCtrl::onRender(class Point2I,class RectI const &)" (?onRender@GuiTheoraCtrl@@UAEXVPoint2I@@ABVRectI@@@Z)
guiTheoraCtrl.obj : error LNK2019: unresolved external symbol "private: double __thiscall TheoraTexture::getTheoraTime(void)" (?getTheoraTime@TheoraTexture@@AAENXZ) referenced in function "public: double const __thiscall TheoraTexture::getCurrentTime(void)" (?getCurrentTime@TheoraTexture@@QAE?BNXZ)