Subject: Re: [boost] [filesystem] Linker error against std::codecvt in VS2012 RC
From: Lars Viklund (zao_at_[hidden])
Date: 2012-06-01 07:29:47
On Fri, Jun 01, 2012 at 11:21:22AM +0000, Stewart, Robert wrote:
> Peter Dimov wrote:
> > Lars Viklund wrote:
> > >  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.
I _thought_ that I had rebuilt it properly, but it turns out that
something was fishy with my working copy, reusing older stale files.
Sorry for the noise.
-- Lars Viklund | zao_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk