|
100精币
大佬们,请问一下静态编译出现这个错误是什么原因?有什么办法可以解决。
开始静态链接...
libstl_static.lib(eplvar.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_MSC_VER=1900"; ignored
libstl_static.lib(eplvar.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0"; ignored
libstl_static.lib(eplvar.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:RuntimeLibrary=MT_StaticRelease"; ignored
libstl_static.lib(eplvar.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0"; ignored
libstl_static.lib(eplvar.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_string=0"; ignored
libstl_static.lib(eplvar.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_vector=0"; ignored
libstl_static.lib(Elibdef.obj) : warning LNK4044: unrecognized option "manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'"; ignored
libstl_static.lib(Elibdef.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_MSC_VER=1900"; ignored
libstl_static.lib(Elibdef.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0"; ignored
libstl_static.lib(Elibdef.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:RuntimeLibrary=MT_StaticRelease"; ignored
libstl_static.lib(Elibdef.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0"; ignored
libstl_static.lib(Elibdef.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_string=0"; ignored
libstl_static.lib(Elibdef.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_vector=0"; ignored
libstl_static.lib(edb.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_MSC_VER=1900"; ignored
libstl_static.lib(edb.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0"; ignored
libstl_static.lib(edb.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:RuntimeLibrary=MT_StaticRelease"; ignored
libstl_static.lib(edb.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0"; ignored
libstl_static.lib(edb.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_string=0"; ignored
libstl_static.lib(edb.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_vector=0"; ignored
libstl_static.lib(fnshare.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_MSC_VER=1900"; ignored
libstl_static.lib(fnshare.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0"; ignored
libstl_static.lib(fnshare.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:RuntimeLibrary=MT_StaticRelease"; ignored
libstl_static.lib(fnshare.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0"; ignored
libstl_static.lib(fnshare.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_string=0"; ignored
libstl_static.lib(fnshare.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_vector=0"; ignored
libcpmt.lib(ios.obj) : error LNK2005: "public: void __thiscall std::ios_base::clear(int,bool)" (?clear@ios_base@std@@QAEXH_N@Z) already defined in libstl_static.lib(eplvar.obj)
libcpmt.lib(ios.obj) : error LNK2005: "public: virtual __thiscall std::ios_base::~ios_base(void)" (??1ios_base@std@@UAE@XZ) already defined in libstl_static.lib(eplvar.obj)
libcpmt.lib(locale.obj) : error LNK2005: "public: __thiscall std::_Locinfo::_Locinfo(char const *)" (??0_Locinfo@std@@QAE@PBD@Z) already defined in libstl_static.lib(eplvar.obj)
libcpmt.lib(locale.obj) : error LNK2005: "public: __thiscall std::_Locinfo::~_Locinfo(void)" (??1_Locinfo@std@@QAE@XZ) already defined in libstl_static.lib(eplvar.obj)
LINK : fatal error LNK1104: cannot open file "legacy_stdio_definitions.lib"
静态连接失败
|
|