|
开始静态链接...
libcmt.lib(stdexcpt.obj) : error LNK2005: "public: __thiscall std::exception::exception(class std::exception const &)" (??0exception@std@@QAE@ABV01@@Z) 已经在 LibStl_static.lib(EditBoxW.obj) 中定义
libcmt.lib(stdexcpt.obj) : error LNK2005: "public: virtual __thiscall std::exception::~exception(void)" (??1exception@std@@UAE@XZ) 已经在 LibStl_static.lib(EditBoxW.obj) 中定义
libcmt.lib(stdexcpt.obj) : error LNK2005: "public: virtual char const * __thiscall std::exception::what(void)const " (?what@exception@std@@UBEPBDXZ) 已经在 LibStl_static.lib(EditBoxW.obj) 中定义
libcpmt.lib(xthrow.obj) : error LNK2005: "public: __thiscall std::exception::exception(void)" (??0exception@std@@QAE@XZ) 已经在 libcmt.lib(stdexcpt.obj) 中定义
LibStl_static.lib(EditBoxW.obj) : error LNK2019: 无法解析的外部符号 "void __cdecl operator delete(void *,unsigned int)" (??3@YAXPAXI@Z),该符号在函数 _Fn_EditBoxW_AddText 中被引用
LibStl_static.lib(EcontrolHelp.obj) : error LNK2001: 无法解析的外部符号 "void __cdecl operator delete(void *,unsigned int)" (??3@YAXPAXI@Z)
libcpmt.lib(xthrow.obj) : error LNK2001: 无法解析的外部符号 "void __cdecl operator delete(void *,unsigned int)" (??3@YAXPAXI@Z)
LibStl_static.lib(EditBoxW.obj) : error LNK2001: 无法解析的外部符号 ___std_terminate
LibStl_static.lib(EcontrolHelp.obj) : error LNK2001: 无法解析的外部符号 ___std_terminate
LibStl_static.lib(EditBoxW.obj) : error LNK2019: 无法解析的外部符号 ___std_exception_copy,该符号在函数 "public: __thiscall std::bad_alloc::bad_alloc(class std::bad_alloc const &)" (??0bad_alloc@std@@QAE@ABV01@@Z) 中被引用
LibStl_static.lib(EcontrolHelp.obj) : error LNK2001: 无法解析的外部符号 ___std_exception_copy
libcpmt.lib(xthrow.obj) : error LNK2001: 无法解析的外部符号 ___std_exception_copy
LibStl_static.lib(EditBoxW.obj) : error LNK2019: 无法解析的外部符号 ___std_exception_destroy,该符号在函数 "public: virtual __thiscall std::bad_array_new_length::~bad_array_new_length(void)" (??1bad_array_new_length@std@@UAE@XZ) 中被引用
LibStl_static.lib(EcontrolHelp.obj) : error LNK2001: 无法解析的外部符号 ___std_exception_destroy
libcpmt.lib(xthrow.obj) : error LNK2001: 无法解析的外部符号 ___std_exception_destroy
D:\01.System\04.我的桌面\测试夹\测试3.exe : fatal error LNK1120: 4 个无法解析的外部命令
静态连接失败
编译器也已经改为 vc2017 了,百dulink.ini添加 extra_args=/NODEFAULTLIB:LIBC.LIB 也不管用 |
|