更新时间:2023-09-17 11:41:34
您好,
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