Boost logo

Boost :

Subject: Re: [boost] error LNK2005
From: Kevin Li (kevin.li_2008_at_[hidden])
Date: 2010-01-18 13:28:03


Thanks for the reply.

The problem has been fixed by adding /FORCE:MULTIPLE to the linking flag.

--Kevin

> Date: Thu, 14 Jan 2010 21:10:57 +0300
> From: andrey.semashev_at_[hidden]
> To: boost_at_[hidden]
> Subject: Re: [boost] error LNK2005
>
> 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.
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
                                               
_________________________________________________________________
Say Happy New Year with Messenger for Mobile.
http://go.microsoft.com/?linkid=9706117


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