"Unresolved external symbol" error when building game server

Post Reply
Alice5150
Posts: 41
Joined: Fri Apr 10, 2015 1:47 pm

"Unresolved external symbol" error when building game server

Post by Alice5150 » Wed Dec 16, 2015 3:57 pm

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

User avatar
demolish
Developer
Posts: 262
Joined: Thu Jul 26, 2012 7:12 am

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

Post by demolish » Wed Dec 16, 2015 4:05 pm

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
<Giblet[NewBrain]> kj with this first step would be fine on my shit
Click here for a guide on scripting missions.

Alice5150
Posts: 41
Joined: Fri Apr 10, 2015 1:47 pm

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

Post by Alice5150 » Wed Dec 16, 2015 4:14 pm

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!

Post Reply