|
Boost Users : |
Subject: Re: [Boost-users] Getting started with boost: Linker error on boost::system::get_system_category
From: Boris Dušek (boris.dusek_at_[hidden])
Date: 2009-07-01 02:57:39
Hi,
On Tue, Jun 30, 2009 at 11:14 PM, Alex Black <alex_at_[hidden]> wrote:
>
> I get these errors:
>
> Error 84 error LNK2001: unresolved external symbol "class
> boost::system::error_category const & __cdecl
> boost::system::get_system_category(void)" (
> ?get_system_category_at_system@boost@@YAAEBVerror_category_at_12@XZ)
>
> Error 85 error LNK2001: unresolved external symbol "class
> boost::system::error_category const & __cdecl
> boost::system::get_generic_category(void)" (
> ?get_generic_category_at_system@boost@@YAAEBVerror_category_at_12@XZ)
>
> any tips?
>
I think the solution is: many boost libraries (those accessing operating
system mainly, like filesystem, asio) themselves depend on boost_system
library, so you need to link to boost_system library as well.
Cheers,
Boris
thx
>
> - Alex
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net