Boost logo

Boost Users :

Subject: Re: [Boost-users] Since which boost-version is linking against boost-system required?
From: Igor R (boost.lists_at_[hidden])
Date: 2011-06-16 06:26:35

> 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?

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at