错误LNK2001未解析的外部符号:从visual studio 2008迁移到visual studio 2015时 [英] Error LNK2001 unresolved external symbol : While migrating from visual studio 2008 to visual studio 2015
问题描述
我在Visual Studio 2015中编译我的项目时遇到以下错误。你能帮忙解决这个错误吗?
严重性 代码
描述 项目
文件 行
抑制状态
错误 LNK2001
未解决的外部symbol"quot:static unsigned int const std :: basic_string< unsigned short,struct std :: char_traits< unsigned short> ;,class std :: allocator< unsigned short> > ::非营利组织" (?npos @?$ basic_string @ GU?$ char_traits @ G @ std @@ V?$ allocator @ G @ 2 @@ std @@ 2IB)
XXX D:\ _jdf\vs2015_compilation\CFS_Release\core\src\utcfsstring\XXX.obj
1
问候
Kunal
您好,
Hi,
I have getting below error while compiling my project in visual studio 2015. Could you please help in resolving this error?
Severity Code
Description Project
File Line
Suppression State
Error LNK2001
unresolved external symbol "public: static unsigned int const std::basic_string<unsigned short,struct std::char_traits<unsigned short>,class std::allocator<unsigned short> >::npos" (?npos@?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@2IB)
XXX D:\jdf\vs2015_compilation\CFS_Release\core\src\utcfsstring\XXX.obj
1
Regards
Kunal
Hello,
Maybe it is the same error as solved here: https://social.msdn.microsoft.com/Forums/vstudio/en-US/28947f43-e7de-42fa-9aa5-44084beac333/linking-problems-with-stl-from-vs2008-to-vs2010?forum=vcgeneral
这篇关于错误LNK2001未解析的外部符号:从visual studio 2008迁移到visual studio 2015时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!