Linker error when compiling boost.asio example

后端 未结 3 622
孤城傲影
孤城傲影 2020-12-09 18:32

I\'m trying to learn a little bit C++ and Boost.Asio. I\'m trying to compile the following code example:

#include 
#include 

        
3条回答
  •  余生分开走
    2020-12-09 19:34

    Have you built the boost libraries or are you trying to do this with a header-only setup? The error looks like the boost_system library is missing, which would suggest that the linker can't find the pre-built library.

提交回复
热议问题