1. 先安装boost,见前文,然后上官网下载不带boost的asio,版本为:asio-1.12.2

  2. cd到下载的库目录,配置
    ./configure --with-boost="boost的安装路径",通常为/usr/local/include`

  3. 编译
    make

  4. 安装asio

    make install

相关文章:

  • 2021-11-20
  • 2021-07-31
  • 2021-10-31
  • 2021-09-24
  • 2021-10-20
  • 2022-01-22
  • 2021-07-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-07
  • 2021-09-14
  • 2021-10-03
  • 2021-09-05
相关资源
相似解决方案