|
汇编模式
nafxcw.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in MSVCRT.lib(MSVCRT.dll)
nafxcw.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in MSVCRT.lib(MSVCRT.dll)
Creating library MyDLL.lib and object MyDLL.exp
nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argv
nafxcw.lib(appcore.obj) : error LNK2001: unresolved external symbol ___argc
nafxcw.lib(filelist.obj) : error LNK2001: unresolved external symbol __mbctype
nafxcw.lib(timecore.obj) : error LNK2001: unresolved external symbol __mbctype
nafxcw.lib(apphelp.obj) : error LNK2001: unresolved external symbol __mbctype
libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol ___mb_cur_max
libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol ___mb_cur_max
libcpmt.lib(xwctomb.obj) : error LNK2001: unresolved external symbol ___mb_cur_max
libcpmt.lib(_tolower.obj) : error LNK2001: unresolved external symbol ___mb_cur_max
libcpmt.lib(_toupper.obj) : error LNK2001: unresolved external symbol ___mb_cur_max
libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol ___setlc_active
libcpmt.lib(xwctomb.obj) : error LNK2001: unresolved external symbol ___setlc_active
libcpmt.lib(_tolower.obj) : error LNK2001: unresolved external symbol ___setlc_active
libcpmt.lib(_toupper.obj) : error LNK2001: unresolved external symbol ___setlc_active
libcpmt.lib(xstrcoll.obj) : error LNK2001: unresolved external symbol ___setlc_active
libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol ___unguarded_readlc_active
libcpmt.lib(xwctomb.obj) : error LNK2001: unresolved external symbol ___unguarded_readlc_active
libcpmt.lib(_tolower.obj) : error LNK2001: unresolved external symbol ___unguarded_readlc_active
libcpmt.lib(_toupper.obj) : error LNK2001: unresolved external symbol ___unguarded_readlc_active
libcpmt.lib(xstrcoll.obj) : error LNK2001: unresolved external symbol ___unguarded_readlc_active
libcpmt.lib(xwctomb.obj) : error LNK2001: unresolved external symbol ___lc_codepage
libcpmt.lib(_tolower.obj) : error LNK2001: unresolved external symbol ___lc_codepage
libcpmt.lib(_toupper.obj) : error LNK2001: unresolved external symbol ___lc_codepage
libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol ___lc_codepage
libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol ___lc_handle
libcpmt.lib(xwctomb.obj) : error LNK2001: unresolved external symbol ___lc_handle
libcpmt.lib(_tolower.obj) : error LNK2001: unresolved external symbol ___lc_handle
libcpmt.lib(_toupper.obj) : error LNK2001: unresolved external symbol ___lc_handle
libcpmt.lib(xstrcoll.obj) : error LNK2001: unresolved external symbol ___lc_handle
libcpmt.lib(_tolower.obj) : error LNK2001: unresolved external symbol __pctype
libcpmt.lib(_toupper.obj) : error LNK2001: unresolved external symbol __pctype
libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol __pctype
libcpmt.lib(xstrcoll.obj) : error LNK2001: unresolved external symbol ___lc_collate_cp
纯C/C++模式
编译黑月程序出错:
nafxcw.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in LIBCMT.lib(new.obj)
nafxcw.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in LIBCMT.lib(delete.obj)
nafxcw.lib(afxmem.obj) : warning LNK4006: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in LIBCMT.lib(new.obj); second definition ignored
nafxcw.lib(afxmem.obj) : warning LNK4006: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in LIBCMT.lib(delete.obj); second definition ignored
在WIN8.1系统下编译发现错误。 |
|