Boost logo

Boost :

Subject: Re: [boost] [filesystem] Linker error against std::codecvt in VS2012 RC
From: Lars Viklund (zao_at_[hidden])
Date: 2012-06-01 07:28:52


On Fri, Jun 01, 2012 at 01:07:15PM +0300, 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. :-)

Have you've _seen_ the innards of Filesystem?

Anyway, it seems like I've somehow ended up with stale files somewhere
in my build tree. Touching one of the filesystem files made it rebuild
properly.

How on earth is one supposed to distclean a Boost tree? It doesn't seem
like --clean does much at all.

-- 
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