Link.exe compile errors. need help
Whenever I try to compile zone.exe it compiles fine till it gets to link.exe then it gets around 47 errors. Anyone know how to fix this error?
|
typically it helps when you actually show us some output....
|
Linking...
attack.obj : error LNK2001: unresolved external symbol "public: void __thiscall Mob::BuffFadeByEffect(unsigned char,signed char,signed char,bool)" (?BuffFadeByEffect@Mob@@QAEXECC_N@Z) worldserver.obj : error LNK2001: unresolved external symbol "public: void __thiscall Client::QueuePacket(class APPLAYER const *,bool,enum Client::CLIENT_CONN_STATUS)" (?QueuePacket@Client@@QAEXPBVAPPLAYER@@_NW4CLIENT_ CONN_STATUS@1@@Z) mob.obj : error LNK2001: unresolved external symbol "public: void __thiscall Client::QueuePacket(class APPLAYER const *,bool,enum Client::CLIENT_CONN_STATUS)" (?QueuePacket@Client@@QAEXPBVAPPLAYER@@_NW4CLIENT_ CONN_STATUS@1@@Z) parser.obj : error LNK2001: unresolved external symbol "public: void __thiscall Client::QueuePacket(class APPLAYER const *,bool,enum Client::CLIENT_CONN_STATUS)" (?QueuePacket@Client@@QAEXPBVAPPLAYER@@_NW4CLIENT_ CONN_STATUS@1@@Z) petitions.obj : error LNK2001: unresolved external symbol "public: void __thiscall Client::QueuePacket(class APPLAYER const *,bool,enum Client::CLIENT_CONN_STATUS)" (?QueuePacket@Client@@QAEXPBVAPPLAYER@@_NW4CLIENT_ CONN_STATUS@1@@Z) PlayerCorpse.obj : error LNK2001: unresolved external symbol "public: void __thiscall Client::QueuePacket(class APPLAYER const *,bool,enum Client::CLIENT_CONN_STATUS)" (?QueuePacket@Client@@QAEXPBVAPPLAYER@@_NW4CLIENT_ CONN_STATUS@1@@Z) attack.obj : error LNK2001: unresolved external symbol "public: void __thiscall Client::QueuePacket(class APPLAYER const *,bool,enum Client::CLIENT_CONN_STATUS)" (?QueuePacket@Client@@QAEXPBVAPPLAYER@@_NW4CLIENT_ CONN_STATUS@1@@Z) client_process.obj : error LNK2001: unresolved external symbol "public: void __thiscall Client::QueuePacket(class APPLAYER const *,bool,enum Client::CLIENT_CONN_STATUS)" (?QueuePacket@Client@@QAEXPBVAPPLAYER@@_NW4CLIENT_ CONN_STATUS@1@@Z) entity.obj : error LNK2001: unresolved external symbol "public: void __thiscall Client::QueuePacket(class APPLAYER const *,bool,enum Client::CLIENT_CONN_STATUS)" (?QueuePacket@Client@@QAEXPBVAPPLAYER@@_NW4CLIENT_ CONN_STATUS@1@@Z) groups.obj : error LNK2001: unresolved external symbol "public: void __thiscall Client::QueuePacket(class APPLAYER const *,bool,enum Client::CLIENT_CONN_STATUS)" (?QueuePacket@Client@@QAEXPBVAPPLAYER@@_NW4CLIENT_ CONN_STATUS@1@@Z) attack.obj : error LNK2001: unresolved external symbol "public: void __thiscall Mob::BuffFade(unsigned short)" (?BuffFade@Mob@@QAEXG@Z) client_process.obj : error LNK2001: unresolved external symbol "public: void __thiscall Mob::BuffFade(unsigned short)" (?BuffFade@Mob@@QAEXG@Z) mob.obj : error LNK2001: unresolved external symbol "public: void __thiscall Mob::BuffFade(unsigned short)" (?BuffFade@Mob@@QAEXG@Z) attack.obj : error LNK2001: unresolved external symbol "public: static int __cdecl Mob::CalcSpellValue(unsigned char,short,short,unsigned char,unsigned short)" (?CalcSpellValue@Mob@@SAHEFFEG@Z) attack.obj : error LNK2001: unresolved external symbol "public: void __thiscall Mob::BuffFadeBySlot(signed char,bool)" (?BuffFadeBySlot@Mob@@QAEXC_N@Z) client.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall Mob::IsRooted(void)" (?IsRooted@Mob@@UAE_NXZ) client.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Client::Heal(void)" (?Heal@Client@@UAEXXZ) client.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Client::Damage(class Mob *,int,unsigned short,unsigned char,bool)" (?Damage@Client@@UAEXPAVMob@@HGE_N@Z) client.obj : error LNK2001: unresolved external symbol "public: void __thiscall EntityList::QueueCloseClients(class Mob *,class APPLAYER const *,bool,float,class Mob *)" (?QueueCloseClients@EntityList@@QAEXPAVMob@@PBVAPP LAYER@@_NM0@Z) spells.obj : error LNK2001: unresolved external symbol "public: void __thiscall EntityList::QueueCloseClients(class Mob *,class APPLAYER const *,bool,float,class Mob *)" (?QueueCloseClients@EntityList@@QAEXPAVMob@@PBVAPP LAYER@@_NM0@Z) client.obj : error LNK2001: unresolved external symbol "public: void __thiscall Mob::SendAppearancePacket(unsigned int,unsigned int,bool)" (?SendAppearancePacket@Mob@@QAEXII_N@Z) npc.obj : error LNK2001: unresolved external symbol "public: void __thiscall Mob::SendAppearancePacket(unsigned int,unsigned int,bool)" (?SendAppearancePacket@Mob@@QAEXII_N@Z) spells.obj : error LNK2001: unresolved external symbol "public: void __thiscall Mob::SendAppearancePacket(unsigned int,unsigned int,bool)" (?SendAppearancePacket@Mob@@QAEXII_N@Z) client.obj : error LNK2001: unresolved external symbol "public: void __thiscall EntityList::QueueClients(class Mob *,class APPLAYER const *,bool)" (?QueueClients@EntityList@@QAEXPAVMob@@PBVAPPLAYER @@_N@Z) spells.obj : error LNK2001: unresolved external symbol "public: void __thiscall EntityList::QueueClients(class Mob *,class APPLAYER const *,bool)" (?QueueClients@EntityList@@QAEXPAVMob@@PBVAPPLAYER @@_N@Z) client.obj : error LNK2001: unresolved external symbol "public: void __thiscall NPC::AddToHateList(class Mob *,int,int,bool)" (?AddToHateList@NPC@@QAEXPAVMob@@HH_N@Z) npc.obj : error LNK2001: unresolved external symbol "public: void __thiscall NPC::AddToHateList(class Mob *,int,int,bool)" (?AddToHateList@NPC@@QAEXPAVMob@@HH_N@Z) spells.obj : error LNK2001: unresolved external symbol "public: void __thiscall NPC::AddToHateList(class Mob *,int,int,bool)" (?AddToHateList@NPC@@QAEXPAVMob@@HH_N@Z) client.obj : error LNK2001: unresolved external symbol "public: void __thiscall Mob::DoAnim(int)" (?DoAnim@Mob@@QAEXH@Z) spells.obj : error LNK2001: unresolved external symbol "public: void __thiscall Mob::DoAnim(int)" (?DoAnim@Mob@@QAEXH@Z) client_process.obj : error LNK2001: unresolved external symbol "public: bool __thiscall Mob::AddProcToWeapon(unsigned short,bool,unsigned char)" (?AddProcToWeapon@Mob@@QAE_NG_NE@Z) MobAI.obj : error LNK2001: unresolved external symbol "public: bool __thiscall Mob::AddProcToWeapon(unsigned short,bool,unsigned char)" (?AddProcToWeapon@Mob@@QAE_NG_NE@Z) client_process.obj : error LNK2001: unresolved external symbol "public: static bool __cdecl Mob::IsBardSong(unsigned short)" (?IsBardSong@Mob@@SA_NG@Z) client_process.obj : error LNK2001: unresolved external symbol "public: void __thiscall Client::FastQueuePacket(class APPLAYER * *,bool,enum Client::CLIENT_CONN_STATUS)" (?FastQueuePacket@Client@@QAEXPAPAVAPPLAYER@@_NW4C LIENT_CONN_STATUS@1@@Z) client_process.obj : error LNK2001: unresolved external symbol "public: bool __thiscall Mob::SpellEffect(class Mob *,unsigned short,unsigned char,signed char,unsigned short,unsigned short)" (?SpellEffect@Mob@@QAE_NPAV1@GECGG@Z) client_process.obj : error LNK2001: unresolved external symbol "public: bool __thiscall Zone::GetAuth(unsigned int,char const *,unsigned int *,unsigned int *,unsigned int *,short *,char *,bool *)" (?GetAuth@Zone@@QAE_NIPBDPAI11PAFPADPA_N@Z) mob.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Mob::CastSpell(unsigned short,unsigned short,unsigned short,int,int)" (?CastSpell@Mob@@UAEXGGGHH@Z) PlayerCorpse.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Mob::CastSpell(unsigned short,unsigned short,unsigned short,int,int)" (?CastSpell@Mob@@UAEXGGGHH@Z) MobAI.obj : error LNK2001: unresolved external symbol "public: signed char __thiscall Mob::CanBuffStack(unsigned short,unsigned char,bool)" (?CanBuffStack@Mob@@QAECGE_N@Z) npc.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall NPC::Damage(class Mob *,int,unsigned short,unsigned char,bool)" (?Damage@NPC@@UAEXPAVMob@@HGE_N@Z) npc.obj : error LNK2001: unresolved external symbol "public: bool __thiscall NPC::ProcessAI(void)" (?ProcessAI@NPC@@QAE_NXZ) npc.obj : error LNK2001: unresolved external symbol "public: static unsigned int __cdecl Timer::GetTickCount(void)" (?GetTickCount@Timer@@SAIXZ) spells.obj : error LNK2001: unresolved external symbol "public: static unsigned int __cdecl Timer::GetTickCount(void)" (?GetTickCount@Timer@@SAIXZ) npc.obj : error LNK2001: unresolved external symbol "public: void __thiscall NPC::CalculateNewWaypoint(void)" (?CalculateNewWaypoint@NPC@@QAEXXZ) spells.obj : error LNK2001: unresolved external symbol "public: void __thiscall Mob::ChangeHP(class Mob *,int,unsigned short)" (?ChangeHP@Mob@@QAEXPAV1@HG@Z) zone.obj : error LNK2001: unresolved external symbol "public: bool __thiscall Database::GetZoneLongName(char const *,char * *,char *,float *,float *,float *)" (?GetZoneLongName@Database@@QAE_NPBDPAPADPADPAM33@ Z) ..\build\\ZoneGF.exe : fatal error LNK1120: 26 unresolved externals Error executing link.exe. ZoneGF.exe - 47 error(s), 0 warning(s) Sorry there you go =) |
Im having the same problem here, you find a fix for that?
|
Try the release version rather than the GF build. Looks like the GF version might be missing some object files for linking..
|
oops, nm, its working fine, i had opened wrong file :oops:
|
All times are GMT -4. The time now is 07:16 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.