Boost logo

Boost Users :

Subject: Re: [Boost-users] Since which boost-version is linking against boost-system required?
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2011-06-16 06:58:37


On Thu, Jun 16, 2011 at 12:43 PM, Cedric Laczny <cedric.laczny_at_[hidden]>wrote:

> On Thursday, 16. June 2011 12:26:35 Igor R wrote:
> > > I have an application which compiles fine with boost-1.40 and 1.41
> > > (global installation). When I try to compile that application on a
> > > system with a local (staged) installation of boost-1.46.0, it complains
> > > about
> > > undefined reference to `boost::system::get_system_category()'
> > > etc.
> > > So, now, it has to be linked also to boost-system via -lboost-system.
> > > Linking against boost_filesystem and boost_regex ist already specified.
> > > So far, so good.
> > > My question is now, since when is this required?
> >
> > If your application uses Boost.System, you should link against it -
> > whether you use 1.40 or 1.46.
> > Perhaps your application uses some other boost library, which didn't
> > use Boost.System in older version, but now it does.
> > Maybe Boost.Asio?
>
> I am not the author of this software and it is rather complex. I know that
> it
> links against Boost.Filesystem and Boost.Regex and that this is enough for
> boost-1.40 or 1.41 installations but seems to be not enough for
> boost-1.46.0.
>
> Does any of those require Boost.System nowadays?

Boost Filesystem requires Boost.System to report OS dependent errors.

With Kind Regards,
Ovanes

>



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