
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@gmail.com To: boost@lists.boost.org 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