Boost logo

Boost Users :

Subject: Re: [Boost-users] Compiler wants to link to threading library all of a sudden
From: Lars Viklund (zao_at_[hidden])
Date: 2012-02-07 10:56:21

On Tue, Feb 07, 2012 at 01:54:30PM +0000, Crispin Cooper wrote:
> Hello Boost users
> I wonder if anyone can help me please. I have just updated my boost
> install to svn head to take advantage of some bugfixes. Now the
> compiler complains that it can't find
> libboost_thread-vc90-mt-sgd-1_49.lib. But I am not trying to use the
> threading libraries - my boost includes are:
> #include <boost/shared_ptr.hpp>
> #include <boost/pool/pool_alloc.hpp>
> #include <boost/pool/object_pool.hpp>
> #include <boost/static_assert.hpp>
> #include <boost/geometry.hpp>
> #include <boost/geometry/geometries/point_xy.hpp>
> #include <boost/geometry/geometries/polygon.hpp>
> #include <boost/geometry/multi/geometries/multi_point.hpp>

This thread on boost@ might be relevant:

I would reckon that shared_ptr most probably has some thread safety
primitives, and the other types might have internal mutexes as well.

Lars Viklund | zao_at_[hidden]

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