Skip to content
New issue

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

'error LNK2001:unresolved external symbol' when using codecvt, char16_t. #91

Closed
surinkim opened this issue Jul 27, 2016 · 1 comment
Closed

Comments

@surinkim
Copy link
Contributor

surinkim commented Jul 27, 2016

When compile echoserver project, I got below link error.
(Visual Studio 2015 Update3 version 14.0.25424.00)

1>scy_base_094d.lib(filesystem.obj) : error LNK2001: "__declspec(dllimport) public: static class std::locale::id std::codecvt<char16_t,char,struct _Mbstatet>::id" (__imp_?id@?$codecvt@_SDU_Mbstatet@@@std@@2V0locale@2@A) 

This is an already reported issue to microsoft, however, it seems like that it's still not fixed in update3 lately.
link1
link2

After reading above articles, I've modified std::string trnascode(const sd::string& path) function a little bit, and I've tested that compile/execution echoserver have no problem.

Could you check this pull request? #90

Thank you for your time.

@surinkim
Copy link
Contributor Author

I've closed this issue because it has fixed by merging #90 pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant