|
std::wstring temp;
//temp赋值
_updateText->setText(temp.c_str());
此处报错
1>pick.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall osgText::TextBase::setText(unsigned short const *)" (__imp_?setText@TextBase@osgText@@QAEXPBG@Z),该符号在函数 "public: void __thiscall PickHandler::setLabel(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?setLabel@PickHandler@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中被引用 |
|