Boost linker error: Unresolved external symbol “class boost::system::error_category const & __cdecl boost::system::get_system_category(void)”

前端 未结 10 2296
执念已碎
执念已碎 2020-12-01 15:32

I\'m just getting started with Boost for the first time, details:

  1. I\'m using Visual Studio 2008 SP1
  2. I\'m doing an x64 Build
  3. I\'m using boost:
10条回答
  •  忘掉有多难
    2020-12-01 16:19

    #include 
    

    In my case, BOOST_LIB_DIAGNOSTIC did not show system being automatically linked in. I resolved this by simply including boost/system/config.hpp.

提交回复
热议问题