toWString() giving me linker errors

Lukáš Lalinský lalinsky at gmail.com
Thu Aug 5 18:34:43 CEST 2010


On Thu, Aug 5, 2010 at 6:19 PM, Jared Shapiro <jared at sonicboommedia.com> wrote:
> I am using taglib as a static library on windows.  So far, everything is working, except when i try to get the tag text as a wstring using toWString().  when linking, I get:
>  tagReader.obj : error LNK2001: unresolved external symbol "public: class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __thiscall TagLib::String::toWString(void)const " (?toWString at String@TagLib@@QBE?AV?$basic_string at _WU?$char_traits at _W@std@@V?$allocator at _W@2@@std@@XZ)
>
> any ideas on what's causing this, or an alternate way to get either a wstring or an array of wchar_t's?

It's probably this issue -
http://stackoverflow.com/questions/1520986/open-file-in-taglib-with-unicode-chars-in-filename/1526606#1526606

Lukas


More information about the taglib-devel mailing list