Hi, I’m trying to use version 1.7 from Git.
I get the below error when building using VS2017 in Windows 10 64 bit.
The error seems to be from script compiler and nanodbc.
I used CMake to generate VS solution file.
Severity Code Description Project File Line Suppression State
Error LNK2001 unresolved external symbol “public: static class std::locale::id std::codecvt<char16_t,char,struct _Mbstatet>::id” (?id@?$codecvt@_SDU_Mbstatet@@@std@@2V0locale@2@A) ScriptCompiler D:\Current Code\Urho3D-master\VS2017\Source\Tools\ScriptCompiler\Urho3D_d.lib(nanodbc.obj) 1
Error LNK1120 1 unresolved externals ScriptCompiler D:\Current Code\Urho3D-master\VS2017\bin\tool\ScriptCompiler.exe 1
Error MSB6006 “cmd.exe” exited with code 1. RESOURCE_CHECK_2iiDm C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets 171
Error LNK2001 unresolved external symbol “public: static class std::locale::id std::codecvt<char16_t,char,struct _Mbstatet>::id” (?id@?$codecvt@_SDU_Mbstatet@@@std@@2V0locale@2@A) 33_Urho2DSpriterAnimation D:\Current Code\Urho3D-master\VS2017\Source\Samples\33_Urho2DSpriterAnimation\Urho3D_d.lib(nanodbc.obj) 1
Error LNK1120 1 unresolved externals 33_Urho2DSpriterAnimation D:\Current Code\Urho3D-master\VS2017\bin\33_Urho2DSpriterAnimation_d.exe 1
Error LNK2001 unresolved external symbol “public: static class std::locale::id std::codecvt<char16_t,char,struct _Mbstatet>::id” (?id@?$codecvt@_SDU_Mbstatet@@@std@@2V0locale@2@A) 36_Urho2DTileMap D:\Current Code\Urho3D-master\VS2017\Source\Samples\36_Urho2DTileMap\Urho3D_d.lib(nanodbc.obj) 1
Error LNK1120 1 unresolved externals 36_Urho2DTileMap D:\Current Code\Urho3D-master\VS2017\bin\36_Urho2DTileMap_d.exe 1
Error LNK2001 unresolved external symbol “public: static class std::locale::id std::codecvt<char16_t,char,struct _Mbstatet>::id” (?id@?$codecvt@_SDU_Mbstatet@@@std@@2V0locale@2@A) 34_DynamicGeometry D:\Current Code\Urho3D-master\VS2017\Source\Samples\34_DynamicGeometry\Urho3D_d.lib(nanodbc.obj) 1
Error LNK1120 1 unresolved externals 34_DynamicGeometry D:\Current Code\Urho3D-master\VS2017\bin\34_DynamicGeometry_d.exe 1
Error LNK2001 unresolved external symbol “public: static class std::locale::id std::codecvt<char16_t,char,struct _Mbstatet>::id” (?id@?$codecvt@_SDU_Mbstatet@@@std@@2V0locale@2@A) 32_Urho2DConstraints D:\Current Code\Urho3D-master\VS2017\Source\Samples\32_Urho2DConstraints\Urho3D_d.lib(nanodbc.obj) 1
Error LNK1120 1 unresolved externals 32_Urho2DConstraints D:\Current Code\Urho3D-master\VS2017\bin\32_Urho2DConstraints_d.exe 1
Error LNK2001 unresolved external symbol “public: static class std::locale::id std::codecvt<char16_t,char,struct _Mbstatet>::id” (?id@?$codecvt@_SDU_Mbstatet@@@std@@2V0locale@2@A) 37_UIDrag D:\Current Code\Urho3D-master\VS2017\Source\Samples\37_UIDrag\Urho3D_d.lib(nanodbc.obj) 1
Error LNK1120 1 unresolved externals 37_UIDrag D:\Current Code\Urho3D-master\VS2017\bin\37_UIDrag_d.exe 1
…