Boost logo

Boost-Build :

Subject: Re: [Boost-build] error LNK2005
From: Thomas Suckow (tsuckow_at_[hidden])
Date: 2010-01-13 11:02:21


I believe this would be more appropriate on the Boost-Users mailing
list http://lists.boost.org/mailman/listinfo.cgi/boost-users

This list is specifically for Boost-Build and your problem seems to be
part of Boost.DateTime

Regards,
Thomas Suckow

On Wed, Jan 13, 2010 at 7:52 AM, Kevin Li <kevin.li_2008_at_[hidden]> wrote:
> Hello, I have built both BOOST DLL and static linked libraries, when a run a
> boost test case, I got the following linking error. I am not sure what the
> problem is. Any idea or clue would be very much appreciated:
>
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: __thiscall
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> >::basic_string<char,struct
> std::char_traits<char>,class std::allocator<char> >(class
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> > const &)"
> (??0?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@QAE_at_ABV01@@Z)
> already defined in dates_as_strings.obj
> msvcprt.lib(MSVCP80.dll) : error LNK2005: "public: __thiscall
> std::basic_string<char,struct std::char_traits<char>,class
> std::allocator<char> >::~basic_string<char,struct
> std::char_traits<char>,class std::allocator<char> >(void)"
> (??1?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@QAE_at_XZ)
> already defined in dates_as_strings.obj
>
> Best regards,
> --Kevin
>
> ________________________________
> Spread the cheer with Messenger for mobile. Learn more.
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
>


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk