I am trying to port some code to Linux which is originally written in Microsoft Visual Studio.
The code uses std::wstring
and when I try to compile, I get the following error:
undefined reference to `myFunc(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'
which is declared as
myfunc(const std::wstring &str)
Is there some additional header file I need to include?