本文介绍了错误 LNK2001:未解析的外部符号 __CxxFrameHandler3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在将 Qt 从 VS 2013 迁移到 Qt 5.10.1 到 VS 2015.遇到多个链接错误.
I am migrating Qt to Qt 5.10.1 from VS 2013 to VS 2015. Getting following multiple link errors.
error LNK2001: unresolved external symbol __CxxFrameHandler3
error LNK2001: unresolved external symbol strcmp
error LNK2001: unresolved external symbol __imp__invalid_parameter_noinfo_noreturn
error LNK2001: unresolved external symbol memcpy
error LNK2001: unresolved external symbol _CxxThrowException
error LNK2001: unresolved external symbol __imp_calloc
error LNK2001: unresolved external symbol fabs
error LNK2001: unresolved external symbol __imp___stdio_common_vsprintf
error LNK2001: unresolved external symbol __std_terminate
error LNK2001: unresolved external symbol memset
error LNK2001: unresolved external symbol strlen
error LNK2001: unresolved external symbol __C_specific_handler
error LNK2001: unresolved external symbol _initialize_narrow_environment
注意:为了迁移到 VS 2015,我已右键单击项目并升级到最新版本,在我的情况下为 VS 2015
Note:In order to migrate to VS 2015, I have right clicked on project and upgraded to latest, in my case VS 2015
推荐答案
在我的项目中,以下链接属性设置为是",
In my project following link property was set to "Yes",
我已更新为否"修复了我的链接错误.
I have updated to "No" fixed my link error.
Project->Properties->Linker->Input->IngoreAllDefaultLibraries 到NO"
这篇关于错误 LNK2001:未解析的外部符号 __CxxFrameHandler3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!