I get an STL related link using Microsoft Visual Studio Community 2015 RC (version 14.0.22823.1 D14REL)
I am linking the C ++ DLL and am successfully using many functions from STL, but I can not find material related to std :: codecvt:
error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class std::locale::id std::codecvt<char32_t,char,struct _Mbstatet>::id" ( __imp_?id@ ?$codecvt@ _UDU_Mbstatet@ @@ std@ @ 2V0locale@2 @A)
Link to the source code causing this problem:
std::wstring_convert< std::codecvt_utf8<char32_t>, char32_t > convert;
My code generation is for a multi-threaded DLL, and I checked through a detailed link that MSVCPRT.lib is being executed during the link time.
Any ideas?
source share