Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "public: int __cdecl CSaveTeam::LoadStringA(char const *)" (?LoadStringA@CSaveTeam@@QEAAHPEBD@Z) referenced in function "private: static bool __cdecl CSqlScore::LoadTeamThread(class CSqlServer *,struct CSqlData const *,bool)" (?LoadTeamThread@CSqlScore@@CA_NPEAVCSqlServer@@PEBUCSqlData@@_N@Z) DDNet-Server \build\sql_score.obj 1
windows 10 pro
visual studio 20191>server_data.cpp
1>G:\DDNet_2020\build\src\game/generated/server_data.h(156,2): error C2143: syntax error: missing '}' before 'constant' (compiling source file E:\GitHub\ddnet\src\game\server\gamecontext.cpp)
1>G:\DDNet_2020\build\src\game/generated/server_data.h(156,14): error C2059: syntax error: 'constant' (compiling source file E:\GitHub\ddnet\src\game\server\gamecontext.cpp)
1>G:\DDNet_2020\build\src\game/generated/server_data.h(171,1): error C2143: syntax error: missing ';' before '}' (compiling source file E:\GitHub\ddnet\src\game\server\gamecontext.cpp)
1>G:\DDNet_2020\build\src\game/generated/server_data.h(171,1): error C2059: syntax error: '}' (compiling source file E:\GitHub\ddnet\src\game\server\gamecontext.cpp)
1>G:\DDNet_2020\build\src\game/generated/server_data.h(156,2): error C2143: syntax error: missing '}' before 'constant' (compiling source file E:\GitHub\ddnet\src\game\server\score\sql_score.cpp)
1>G:\DDNet_2020\build\src\game/generated/server_data.h(156,14): error C2059: syntax error: 'constant' (compiling source file E:\GitHub\ddnet\src\game\server\score\sql_score.cpp)
1>G:\DDNet_2020\build\src\game/generated/server_data.h(171,1): error C2143: syntax error: missing ';' before '}' (compiling source file E:\GitHub\ddnet\src\game\server\score\sql_score.cpp)
1>G:\DDNet_2020\build\src\game/generated/server_data.h(171,1): error C2059: syntax error: '}' (compiling source file E:\GitHub\ddnet\src\game\server\score\sql_score.cpp)
1>Done building project "DDNet-Server.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 6 up-to-date, 0 skipped ==========
1>sql_score.obj : error LNK2019: unresolved external symbol "public: int __cdecl CSaveTeam::LoadStringA(char const *)" (?LoadStringA@CSaveTeam@@QEAAHPEBD@Z) referenced in function "private: static bool __cdecl CSqlScore::LoadTeamThread(class CSqlServer *,struct CSqlData const *,bool)" (?LoadTeamThread@CSqlScore@@CA_NPEAVCSqlServer@@PEBUCSqlData@@_N@Z)
1>G:\DDNet_2020\build\Release\DDNet-Server.exe : fatal error LNK1120: 1 unresolved externals
1>Done building project "DDNet-Server.vcxproj" -- FAILED.
int Num = SavedTeam.LoadString(pSqlServer->GetResults()->getString("Savegame").c_str());