Boost logo

Boost :

Subject: Re: [boost] error LNK2005
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2010-01-14 13:10:57


On 13.01.2010 21:38, Kevin Li wrote:
>
> Hello, when the run boost test cases (Version 1.41.0), I got quite a
> few LNK2005 errors. Below is an example when run a Data_Time test:
>
> It seems to me that there is a conflict between system library and
> the Boost library, but I am not sure if this is a bug or the Boost
> library is not correctly built. Any clue would be very appreciated.

I guess that the library was build with static CRT and the executable
with the shared one. Make sure you pass runtime-link=shared to bjam at
all times.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk