toWString() giving me linker errors
jared at sonicboommedia.com
Fri Aug 6 00:30:47 CEST 2010
thanks. that helped a lot. the interesting thing is i had already checked the /Zc:wchar_t- setting in the visual studio build settings, and both projects had that turned off... but i was still getting the linker errors. yanking that out of the CMakeLists.txt file and recreating the visual studio solution in cmake fixed it though.
From: lalinsky at gmail.com [mailto:lalinsky at gmail.com]
Sent: Thursday, August 05, 2010 12:35 PM
To: taglib-devel at kde.org
Subject: Re: toWString() giving me linker errors
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 -
taglib-devel mailing list
taglib-devel at kde.org
More information about the taglib-devel