开启辅助访问 切换到宽版

精易论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

用微信号发送消息登录论坛

新人指南 邀请好友注册 - 我关注人的新帖 教你赚取精币 - 每日签到


求职/招聘- 论坛接单- 开发者大厅

论坛版规 总版规 - 建议/投诉 - 应聘版主 - 精华帖总集 积分说明 - 禁言标准 - 有奖举报

查看: 153|回复: 1
收起左侧

[已解决] 易语言无法静态编译

 关闭 [复制链接]
结帖率:100% (2/2)
发表于 2024-11-30 17:00:51 | 显示全部楼层 |阅读模式   河南省焦作市
10精币
正在编译现行程序
正在进行名称连接...
正在统计需要编译的子程序
正在编译...
正在生成主程序入口代码
程序代码编译成功
等待用户输入欲编译到的文件名
正在进行名称连接...
开始静态链接...
libstl_static.lib(FindText.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_MSC_VER=1900"; ignored
libstl_static.lib(FindText.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0"; ignored
libstl_static.lib(FindText.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:RuntimeLibrary=MT_StaticRelease"; ignored
libstl_static.lib(FindText.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0"; ignored
libstl_static.lib(FindText.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_string=0"; ignored
libstl_static.lib(FindText.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_vector=0"; ignored
libstl_static.lib(UnicodeBase.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_MSC_VER=1900"; ignored
libstl_static.lib(UnicodeBase.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0"; ignored
libstl_static.lib(UnicodeBase.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:RuntimeLibrary=MT_StaticRelease"; ignored
libstl_static.lib(UnicodeBase.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0"; ignored
libstl_static.lib(UnicodeBase.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_string=0"; ignored
libstl_static.lib(UnicodeBase.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_vector=0"; ignored
libstl_static.lib(set_clipboard_text..obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_MSC_VER=1900"; ignored
libstl_static.lib(set_clipboard_text..obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0"; ignored
libstl_static.lib(set_clipboard_text..obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:RuntimeLibrary=MT_StaticRelease"; ignored
libstl_static.lib(set_clipboard_text..obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0"; ignored
libstl_static.lib(set_clipboard_text..obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_string=0"; ignored
libstl_static.lib(set_clipboard_text..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(EditBoxW.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_MSC_VER=1900"; ignored
libstl_static.lib(EditBoxW.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0"; ignored
libstl_static.lib(EditBoxW.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:RuntimeLibrary=MT_StaticRelease"; ignored
libstl_static.lib(EditBoxW.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0"; ignored
libstl_static.lib(EditBoxW.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_string=0"; ignored
libstl_static.lib(EditBoxW.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_vector=0"; ignored
libstl_static.lib(EditBoxW.obj) : warning LNK4078: multiple ".CRT" sections found with different attributes (40300040)
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
libstl_static.lib(ElibHelp.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_MSC_VER=1900"; ignored
libstl_static.lib(ElibHelp.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0"; ignored
libstl_static.lib(ElibHelp.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:RuntimeLibrary=MT_StaticRelease"; ignored
libstl_static.lib(ElibHelp.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0"; ignored
libstl_static.lib(ElibHelp.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_string=0"; ignored
libstl_static.lib(ElibHelp.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_vector=0"; ignored
libstl_static.lib(EcontrolHelp.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_MSC_VER=1900"; ignored
libstl_static.lib(EcontrolHelp.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0"; ignored
libstl_static.lib(EcontrolHelp.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:RuntimeLibrary=MT_StaticRelease"; ignored
libstl_static.lib(EcontrolHelp.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0"; ignored
libstl_static.lib(EcontrolHelp.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_string=0"; ignored
libstl_static.lib(EcontrolHelp.obj) : warning LNK4044: unrecognized option "FAILIFMISMATCH:annotate_vector=0"; ignored
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(edb.obj)
libcpmt.lib(locale.obj) : error LNK2005: "public: __thiscall std::_Locinfo::~_Locinfo(void)" (??1_Locinfo@std@@QAE@XZ) already defined in libstl_static.lib(edb.obj)
LINK : fatal error LNK1104: cannot open file "legacy_stdio_definitions.lib"
静态连接失败

静态编译时出来这个,调式都能正常运行,用到标准模板库2.0,这个更新了一下,用的是 libstl-20231009-1922_ ,换回原来的自带的代码打开就卡死,也不知道哪个地方问题,请大佬们指点下,谢谢

最佳答案

查看完整内容

用v6编译,不会出现这些问题,但会报毒

回答提醒:如果本帖被关闭无法回复,您有更好的答案帮助楼主解决,请发表至 源码区 可获得加分喔。
友情提醒:本版被采纳的主题可在 申请荣誉值 页面申请荣誉值,获得 1点 荣誉值,荣誉值可兑换荣誉会员、终身vip用户组。
快捷通道:申请荣誉值无答案申请取消悬赏投诉有答案未采纳为最佳
结帖率:0% (0/2)

签到天数: 20 天

发表于 2024-11-30 17:00:52 高大上手机用户 | 显示全部楼层   福建省福州市
用v6编译,不会出现这些问题,但会报毒

评分

参与人数 1荣誉 +1 收起 理由
笨潴 + 1 热心帮助他人,荣誉+1,希望继续努力(*^__^*) 嘻嘻!

查看全部评分

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则 致发广告者

发布主题 收藏帖子 返回列表

sitemap| 易语言源码| 易语言教程| 易语言论坛| 易语言模块| 手机版| 广告投放| 精易论坛
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论,本站内容均为会员发表,并不代表精易立场!
论坛帖子内容仅用于技术交流学习和研究的目的,严禁用于非法目的,否则造成一切后果自负!如帖子内容侵害到你的权益,请联系我们!
防范网络诈骗,远离网络犯罪 违法和不良信息举报电话0663-3422125,QQ: 793400750,邮箱:wp@125.la
网站简介:精易论坛成立于2009年,是一个程序设计学习交流技术论坛,隶属于揭阳市揭东区精易科技有限公司所有。
Powered by Discuz! X3.4 揭阳市揭东区精易科技有限公司 ( 粤ICP备12094385号-1) 粤公网安备 44522102000125 增值电信业务经营许可证 粤B2-20192173

快速回复 返回顶部 返回列表