error LNK2001
来源:百度知道 编辑:UC知道 时间:2024/06/15 06:24:00
error LNK2001: unresolved external symbol "public: static struct CRuntimeClass const CTextOutDoc::classCTextOutDoc" (?classCTextOutDoc@CTextOutDoc@@2UCRuntimeClass@@B)
静态成员变量需要定义 你没定义所以链接的时候抱错
在CPP里写一个
const CRuntimeClass CTextOutDoc::classCTextOutDoc;
error LNK2001:
error LNK2001 fatal error LNK1120
error LNK2001: unresolved external symbol
VC++error LNK2001: unresolved external symbol
c++错误 jose.obj : error LNK2001: unresolved external symbol....
IPAddressDlg.obj : error LNK2001: unresolved external symbol __imp__WSACleanup@0是什么 意思
c语言编辑时提示error LNK2001: unresolved external symbol _gREE是什么原因?
vc提示“LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16”是什么意思
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16为什么会有错误
VC错误 LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16