We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I get this linker error if I have #include "mio/mmap.hpp" in more than one cpp file:
error LNK2005: "class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __cdecl mio::detail::win::s_2_ws(class std::basic_string<char,struct std::char_traits,class std::allocator > const &)" (?s_2_ws@win@detail@mio@@ya?AV?$basic_string@_WU?$char_traits@_W@std@@v?$allocator@_W@2@@std@@aebv?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@5@@z) already defined in test.obj
Any ideas on what I can do to fix? Running x64 build on Win11.
Thanks! Tyson
The text was updated successfully, but these errors were encountered:
See #71
Sorry, something went wrong.
thanks! nice one liner :)
Seems to me that with #88 this issue should be closed, no?
No branches or pull requests
Hi,
I get this linker error if I have #include "mio/mmap.hpp" in more than one cpp file:
error LNK2005: "class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __cdecl mio::detail::win::s_2_ws(class std::basic_string<char,struct std::char_traits,class std::allocator > const &)" (?s_2_ws@win@detail@mio@@ya?AV?$basic_string@_WU?$char_traits@_W@std@@v?$allocator@_W@2@@std@@aebv?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@5@@z) already defined in test.obj
Any ideas on what I can do to fix? Running x64 build on Win11.
Thanks!
Tyson
The text was updated successfully, but these errors were encountered: