1. error LNK2019: 无法解析的外部符号 "class boost::system::error_category const & __cdecl boost::system::system_category(void)"

解决:X86与X64库不匹配引起的,需要编译一个对应版本的库。即boost库的版本和VS的平台需要一致。
 
 
 
 
 
 
 

1. 不定义该运算符或到预定义运算符可接收的类型的转换

因为std::set 是需要排序的,因此需要把std::<struct> 中定义的struct、class重载operator < 方法。std::map<key, value> 中的key也需要如此。

 

相关文章:

  • 2022-02-09
  • 2021-07-08
  • 2022-02-06
  • 2021-11-24
  • 2022-02-16
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-20
  • 2021-10-20
  • 2021-05-04
  • 2021-12-31
  • 2021-03-30
相关资源
相似解决方案