|
50精币
求个抖音扫码登录获取ck 论坛有一个可以用,但是不能静态编译
一只提示:
开始静态链接...
[ 19:35:31 ] libstl_static.lib(Elibdef.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0"; ignored
[ 19:35:31 ] libstl_static.lib(Elibdef.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_MSC_VER=1900"; ignored
[ 19:35:31 ] libstl_static.lib(Elibdef.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0"; ignored
[ 19:35:31 ] libstl_static.lib(Elibdef.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:RuntimeLibrary=MT_StaticRelease"; ignored
[ 19:35:31 ] libstl_static.lib(readfile.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_MSC_VER=1900"; ignored
[ 19:35:31 ] libstl_static.lib(readfile.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0"; ignored
[ 19:35:31 ] libstl_static.lib(readfile.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:RuntimeLibrary=MT_StaticRelease"; ignored
[ 19:35:31 ] libstl_static.lib(readfile.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0"; ignored
[ 19:35:31 ] libstl_static.lib(fnshare.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0"; ignored
[ 19:35:31 ] libstl_static.lib(fnshare.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_MSC_VER=1900"; ignored
[ 19:35:31 ] libstl_static.lib(fnshare.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0"; ignored
[ 19:35:31 ] libstl_static.lib(fnshare.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:RuntimeLibrary=MT_StaticRelease"; ignored
[ 19:35:31 ] 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(readfile.obj)
[ 19:35:31 ] 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(readfile.obj)
[ 19:35:31 ] 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(readfile.obj)
[ 19:35:31 ] libcpmt.lib(locale.obj) : error LNK2005: "public: __thiscall std::_Locinfo::~_Locinfo(void)" (??1_Locinfo@std@@QAE@XZ) already defined in libstl_static.lib(readfile.obj)
[ 19:35:31 ] LINK : fatal error LNK1104: cannot open file "legacy_stdio_definitions.lib"
[ 19:35:31 ] 静态连接失败
|
最佳答案
查看完整内容
就一个取随机数 硬是用上一个不能静态编译的支持库, 我给你把代码替换了 现在可以正常用了
|