OGRE程序编译问题,关于error LNK2019。详细如下:
开发环境:win7+vs2012+OGRE1.9
问题代码块:
OgreBites::InputContext mInputContext;
mInputContext.mKeyboard = m_keyBord;
mInputContext.mMouse = m_mouse;
mTrayMgr = new OgreBites::SdkTrayManager("InterfaceName", this->m_window, mInputContext, this);
mTrayMgr->showFrameStats(OgreBites::TL_BOTTOMRIGHT);
mTrayMgr->hideLogo();
mTrayMgr->hideCursor();
error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::vector<class OIS::MultiTouchState,class std::allocator<class OIS::MultiTouchState> > __thiscall OIS::MultiTouch::getMultiTouchStates(void)const " (__imp_?getMultiTouchStates@MultiTouch@OIS@@QBE?AV?$vector@VMultiTouchState@OIS@@V?$allocator@VMultiTouchState@OIS@@@std@@@std@@XZ),该符号在函数 "public: bool __thiscall OgreBites::InputContext::getCursorPosition(float &,float &)const " (?getCursorPosition@InputContext@OgreBites@@QBE_NAAM0@Z) 中被引用 F:\code.projects\Microsoft Visual Studio\OGRETest\OGRETest\OGRETest.obj
error LNK1120: 1 个无法解析的外部命令