windows下QT编译paddleocr (无法解析的外部符号std::basic_streambuf)
main.obj👎 error: LNK2019: 无法解析的外部符号 “__declspec(dllimport) public: __int64 __cdecl std::basic_streambuf<char,struct std::char_traits >::sputn(char const *,__int64)” (_imp?sputn@?basicstreambuf@DU?basic_streambuf@DU?basicstreambuf@DU?char_traits@D@std@@@std@@QEAA_JPEBD_J@Z),该符号在函数 “class std::basic_ostream<char,struct std::char_traits > & __cdecl std::operator<<<struct std::char_traits >(class std::basic_ostream<char,struct std::char_traits > &,char const *)” (???6U??6U??6U?char_traits@D@std@@@std@@YAAEAV?basicostream@DU?basic_ostream@DU?basicostream@DU?char_traits@D@std@@@0@AEAV10@PEBD@Z) 中被引用
处理办法:
#ifndef GLOG_NO_ABBREVIATED_SEVERITIES
//#define GLOG_NO_ABBREVIATED_SEVERITIES
//#define GOOGLE_GLOG_DLL_DECL
#endif
更多推荐



所有评论(0)