参考文档:https://blog.csdn.net/immcss/article/details/2956428

设置工程时,出现类似如下错误:

msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z) already defined in USBInfo.lib(USBInfoInterface.obj)

 

解决方法:修改工程属性--配置属性--c/c++--代码通用--实时库类型

error LNK2005:XXXX already defined in XXX.lib

相关文章:

  • 2021-09-16
  • 2021-12-08
  • 2021-12-09
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
  • 2021-06-30
猜你喜欢
  • 2021-06-12
  • 2021-05-11
  • 2021-09-17
  • 2021-07-15
  • 2021-09-01
  • 2021-10-14
  • 2021-11-15
相关资源
相似解决方案