我将Qt迁移到Qt 5.10.1,从VS 2013到VS 2015。跟踪多个链接错误。
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。
发布于 2018-05-14 09:41:33
在我的项目中,下面的链接属性设置为“是”,
我已经更新为“否”修正了我的链接错误。
Project->Properties->Linker->Input->IngoreAllDefaultLibraries to "NO"
https://stackoverflow.com/questions/50327296
复制相似问题