sourcey / libsourcey

C++14 evented IO libraries for high performance networking and media based applications
https://sourcey.com/libsourcey
GNU Lesser General Public License v2.1
1.32k stars 349 forks source link

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

Closed surinkim closed 8 years ago

surinkim commented 8 years ago

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 commented 8 years ago

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