Linking Boost Library in Linux

前端 未结 3 1895
陌清茗
陌清茗 2020-12-28 13:09

I am trying to build a project using Boost\'s Asio and I am having some trouble. Initially, I tried to build the project without any additional libraries since everything i

3条回答
  •  再見小時候
    2020-12-28 13:56

    In this case james' answer was correct, but if anybody else happens to stumble upon this post like I did then be aware that you can get this message if you link old boost headers against newer libraries. get_system_category() specifically has been deprecated. I ran into this problem while accidentally including distro-provided headers but linking against my own internal copy of boost.

提交回复
热议问题