Boost logo

Boost :

Subject: Re: [boost] [filesystem] Linker error against std::codecvt in VS2012 RC
From: Stewart, Robert (Robert.Stewart_at_[hidden])
Date: 2012-06-01 07:21:22


Peter Dimov wrote:
> Lars Viklund wrote:
>
> > [1] 1>libboost_filesystem-vc110-mt-gd-1_50.lib(path.obj) :
> > error LNK2001: unresolved external symbol "protected: virtual
> > int __thiscall std::codecvt<wchar_t,char,int>::do_length(int
> > const &,char const *,char const *,unsigned int)const "
> > (?do_length@?$codecvt@_WDH_at_std@@MBEHABHPBD1I_at_Z)
>
> Well, you could start by preparing a simple test program that
> calls std::codecvt in the same way path.obj does, to eliminate
> Boost as a factor. If do_length is indeed not present in the
> dynamic runtime, this would probably be a showstopper bug
> against the RC, so it will get noticed. :-)

If that's not the problem, verify that you built Boost.Filesystem using the same CRT.

_____
Rob Stewart robert.stewart_at_[hidden]
Software Engineer using std::disclaimer;
Dev Tools & Components
Susquehanna International Group, LLP http://www.sig.com

________________________________

IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.


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