main.obj👎 error: LNK2019: 无法解析的外部符号 “__declspec(dllimport) public: __int64 __cdecl std::basic_streambuf<char,struct std::char_traits >::sputn(char const *,__int64)” (_imp?sputn@?
b
a
s
i
c
s
t
r
e
a
m
b
u
f
@
D
U
?
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 *)” (??
?
6
U
?
?6U?
?6U?char_traits@D@std@@@std@@YAAEAV?
b
a
s
i
c
o
s
t
r
e
a
m
@
D
U
?
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
07-01
6256
04-03
1万+
02-12
8596