错误LNK2001未解析的外部符号:从visual studio 2008迁移到visual studio 2015时 [英] Error LNK2001 unresolved external symbol : While migrating from visual studio 2008 to visual studio 2015

查看:271
本文介绍了错误LNK2001未解析的外部符号:从visual studio 2008迁移到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



解决方案

您好,


可能与此处解决的错误相同:
https://social.msdn.microsoft.com/Forums/vstudio / en-US / 28947f43-e7de-42fa-9aa5-44084beac333 / linking-problems-with-stl-from-vs2008-to-vs2010?forum = vcgeneral


问候,Guido


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

Regards, Guido


这篇关于错误LNK2001未解析的外部符号:从visual studio 2008迁移到visual studio 2015时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆