On Thu, Jun 16, 2011 at 12:43 PM, Cedric Laczny <cedric.laczny@gmx.de> 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