Page 1 of 1

"Unresolved external symbol" error when building game server

Posted: Wed Dec 16, 2015 3:57 pm
by Alice5150
Please help if you can. I have googled my little heart out on this and nothing has helped. I can build to vanilla DSP just fine, but me and another admin are both getting the following errors when we merge with our custom content:

Severity Code Description Project File Line Suppression State
Error LNK1120 1 unresolved externals DSGame-server C:\Fluxion\DSGame-server.exe 1

Error LNK2001 unresolved external symbol "public: bool __thiscall CBattleEntity::isAlive(void)" (?isAlive@CBattleEntity@@QAE_NXZ) DSGame-server C:\Fluxion\win32\DSGame-server\status_effect_container.obj 1

Error LNK2001 unresolved external symbol "public: bool __thiscall CBattleEntity::isAlive(void)" (?isAlive@CBattleEntity@@QAE_NXZ) DSGame-server C:\Fluxion\win32\DSGame-server\battleutils.obj 1

Error LNK2019 unresolved external symbol "public: bool __thiscall CBattleEntity::isAlive(void)" (?isAlive@CBattleEntity@@QAE_NXZ) referenced in function "protected: void __thiscall CAIMobDummy::ActionFall(void)" (?ActionFall@CAIMobDummy@@IAEXXZ) DSGame-server C:\Fluxion\win32\DSGame-server\ai_mob_dummy.obj 1

Re: "Unresolved external symbol" error when building game se

Posted: Wed Dec 16, 2015 4:05 pm
by demolish
means your merge didn't quite go as planned and you're missing this function from battleentity.cpp https://github.com/DarkstarProject/dark ... ty.cpp#L82

Re: "Unresolved external symbol" error when building game se

Posted: Wed Dec 16, 2015 4:14 pm
by Alice5150
demolish wrote:means your merge didn't quite go as planned and you're missing this function from battleentity.cpp https://github.com/DarkstarProject/dark ... ty.cpp#L82
Holy crap it worked. Thank you so much!