Log in

View Full Version : Error while compiling with ReleaseBots


KingMort
10-15-2011, 04:00 PM
I get this when trying to compile.. Not sure what it means can anyone tell me what it means and hopefully what to do here?

Linking...
aggro.obj : error LNK2019: unresolved external symbol "public: static bool __cdecl Bot::IsBotAttackAllowed(class Mob *,class Mob *,bool &)" (?IsBotAttackAllowed@Bot@@SA_NPAVMob@@0AA_N@Z) referenced in function "public: virtual bool __thiscall Mob::IsAttackAllowed(class Mob *,bool)" (?IsAttackAllowed@Mob@@UAE_NPAV1@_N@Z)
botspellsai.obj : error LNK2019: unresolved external symbol "public: unsigned char __thiscall Bot::GetNumberNeedingHealedInGroup(unsigned char,bool)" (?GetNumberNeedingHealedInGroup@Bot@@QAEEE_N@Z) referenced in function "public: virtual bool __thiscall Bot::AICastSpell(class Mob *,unsigned char,unsigned short)" (?AICastSpell@Bot@@UAE_NPAVMob@@EG@Z)
botspellsai.obj : error LNK2019: unresolved external symbol "public: void __thiscall Bot::Stand(void)" (?Stand@Bot@@QAEXXZ) referenced in function "protected: virtual bool __thiscall Bot::AIDoSpellCast(unsigned char,class Mob *,int,unsigned int *)" (?AIDoSpellCast@Bot@@MAE_NEPAVMob@@HPAI@Z)
botspellsai.obj : error LNK2019: unresolved external symbol "public: bool __thiscall Bot::IsSitting(void)" (?IsSitting@Bot@@QAE_NXZ) referenced in function "protected: virtual bool __thiscall Bot::AIDoSpellCast(unsigned char,class Mob *,int,unsigned int *)" (?AIDoSpellCast@Bot@@MAE_NEPAVMob@@HPAI@Z)
botspellsai.obj : error LNK2019: unresolved external symbol "public: bool __thiscall EntityList::Bot_AICheckCloseBeneficialSpells(class Bot *,unsigned char,float,unsigned short)" (?Bot_AICheckCloseBeneficialSpells@EntityList@@QAE _NPAVBot@@EMG@Z) referenced in function "public: virtual bool __thiscall Bot::AI_IdleCastCheck(void)" (?AI_IdleCastCheck@Bot@@UAE_NXZ)
client.obj : error LNK2019: unresolved external symbol "public: static void __cdecl Bot::ProcessBotOwnerRefDelete(class Mob *)" (?ProcessBotOwnerRefDelete@Bot@@SAXPAVMob@@@Z) referenced in function "public: virtual __thiscall Client::~Client(void)" (??1Client@@UAE@XZ)
client_packet.obj : error LNK2019: unresolved external symbol "public: static void __cdecl Bot::BotOrderCampAll(class Client *)" (?BotOrderCampAll@Bot@@SAXPAVClient@@@Z) referenced in function "public: void __thiscall Client::Handle_OP_Camp(class EQApplicationPacket const *)" (?Handle_OP_Camp@Client@@QAEXPBVEQApplicationPacke t@@@Z)
client_packet.obj : error LNK2019: unresolved external symbol "public: static void __cdecl Bot::ProcessGuildInvite(class Client *,class Bot *)" (?ProcessGuildInvite@Bot@@SAXPAVClient@@PAV1@@Z) referenced in function "public: void __thiscall Client::Handle_OP_GuildInvite(class EQApplicationPacket const *)" (?Handle_OP_GuildInvite@Client@@QAEXPBVEQApplicati onPacket@@@Z)
client_packet.obj : error LNK2019: unresolved external symbol "public: static bool __cdecl Bot::ProcessGuildRemoval(class Client *,class std::basic_string,class std::allocator >)" (?ProcessGuildRemoval@Bot@@SA_NPAVClient@@V?$basic _string@DU?$char_traits@D@std@@V?$allocator@D@2@@s td@@@Z) referenced in function "public: void __thiscall Client::Handle_OP_GuildRemove(class EQApplicationPacket const *)" (?Handle_OP_GuildRemove@Client@@QAEXPBVEQApplicati onPacket@@@Z)
client_packet.obj : error LNK2019: unresolved external symbol "public: void __thiscall Bot::FinishTrade(class Client *,enum Bot::BotTradeType)" (?FinishTrade@Bot@@QAEXPAVClient@@W4BotTradeType@1 @@Z) referenced in function "public: void __thiscall Client::Handle_OP_TradeAcceptClick(class EQApplicationPacket const *)" (?Handle_OP_TradeAcceptClick@Client@@QAEXPBVEQAppl icationPacket@@@Z)
client_packet.obj : error LNK2019: unresolved external symbol "public: static void __cdecl Bot::ProcessBotGroupInvite(class Client *,class std::basic_string,class std::allocator >)" (?ProcessBotGroupInvite@Bot@@SAXPAVClient@@V?$basi c_string@DU?$char_traits@D@std@@V?$allocator@D@2@@ std@@@Z) referenced in function "public: void __thiscall Client::Handle_OP_GroupInvite2(class EQApplicationPacket const *)" (?Handle_OP_GroupInvite2@Client@@QAEXPBVEQApplicat ionPacket@@@Z)
client_packet.obj : error LNK2019: unresolved external symbol "public: static void __cdecl Bot::ProcessBotGroupDisband(class Client *,class std::basic_string,class std::allocator >)" (?ProcessBotGroupDisband@Bot@@SAXPAVClient@@V?$bas ic_string@DU?$char_traits@D@std@@V?$allocator@D@2@ @std@@@Z) referenced in function "public: void __thiscall Client::Handle_OP_GroupDisband(class EQApplicationPacket const *)" (?Handle_OP_GroupDisband@Client@@QAEXPBVEQApplicat ionPacket@@@Z)
client_packet.obj : error LNK2019: unresolved external symbol "public: static bool __cdecl Bot::GroupHasBot(class Group *)" (?GroupHasBot@Bot@@SA_NPAVGroup@@@Z) referenced in function "public: void __thiscall Client::Handle_OP_GroupDisband(class EQApplicationPacket const *)" (?Handle_OP_GroupDisband@Client@@QAEXPBVEQApplicat ionPacket@@@Z)
client_packet.obj : error LNK2019: unresolved external symbol "public: static void __cdecl Bot::ProcessBotInspectionRequest(class Bot *,class Client *)" (?ProcessBotInspectionRequest@Bot@@SAXPAV1@PAVClie nt@@@Z) referenced in function "public: void __thiscall Client::Handle_OP_InspectRequest(class EQApplicationPacket const *)" (?Handle_OP_InspectRequest@Client@@QAEXPBVEQApplic ationPacket@@@Z)
client_packet.obj : error LNK2019: unresolved external symbol "public: static void __cdecl Bot::LoadAndSpawnAllZonedBots(class Client *)" (?LoadAndSpawnAllZonedBots@Bot@@SAXPAVClient@@@Z) referenced in function "public: bool __thiscall Client::FinishConnState2(class DBAsyncWork *)" (?FinishConnState2@Client@@QAE_NPAVDBAsyncWork@@@Z )
command.obj : error LNK2019: unresolved external symbol "public: static void __cdecl Bot::ProcessBotCommands(class Client *,class Seperator const *)" (?ProcessBotCommands@Bot@@SAXPAVClient@@PBVSeperat or@@@Z) referenced in function "void __cdecl command_goon(class Client *,class Seperator const *)" (?command_goon@@YAXPAVClient@@PBVSeperator@@@Z)
entity.obj : error LNK2019: unresolved external symbol "public: bool __thiscall EntityList::RemoveBot(unsigned short)" (?RemoveBot@EntityList@@QAE_NG@Z) referenced in function "public: void __thiscall EntityList::MobProcess(void)" (?MobProcess@EntityList@@QAEXXZ)
questmgr.obj : error LNK2019: unresolved external symbol "public: bool __thiscall Bot::IsBotNameAvailable(class std::basic_string,class std::allocator > *)" (?IsBotNameAvailable@Bot@@QAE_NPAV?$basic_string@D U?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: bool __thiscall QuestManager::createBot(char const *,char const *,unsigned char,unsigned short,unsigned char,unsigned char)" (?createBot@QuestManager@@QAE_NPBD0EGEE@Z)
questmgr.obj : error LNK2019: unresolved external symbol "public: bool __thiscall Bot::IsValidName(void)" (?IsValidName@Bot@@QAE_NXZ) referenced in function "public: bool __thiscall QuestManager::createBot(char const *,char const *,unsigned char,unsigned short,unsigned char,unsigned char)" (?createBot@QuestManager@@QAE_NPBD0EGEE@Z)
questmgr.obj : error LNK2019: unresolved external symbol "public: bool __thiscall Bot::IsValidRaceClassCombo(void)" (?IsValidRaceClassCombo@Bot@@QAE_NXZ) referenced in function "public: bool __thiscall QuestManager::createBot(char const *,char const *,unsigned char,unsigned short,unsigned char,unsigned char)" (?createBot@QuestManager@@QAE_NPBD0EGEE@Z)
questmgr.obj : error LNK2019: unresolved external symbol "public: __thiscall Bot::Bot(struct NPCType,class Client *)" (??0Bot@@QAE@UNPCType@@PAVClient@@@Z) referenced in function "public: bool __thiscall QuestManager::createBot(char const *,char const *,unsigned char,unsigned short,unsigned char,unsigned char)" (?createBot@QuestManager@@QAE_NPBD0EGEE@Z)
questmgr.obj : error LNK2019: unresolved external symbol "public: static struct NPCType __cdecl Bot::CreateDefaultNPCTypeStructForBot(class std::basic_string,class std::allocator >,class std::basic_string,class std::allocator >,unsigned char,unsigned short,unsigned char,unsigned char)" (?CreateDefaultNPCTypeStructForBot@Bot@@SA?AUNPCTy pe@@V?$basic_string@DU?$char_traits@D@std@@V?$allo cator@D@2@@std@@0EGEE@Z) referenced in function "public: bool __thiscall QuestManager::createBot(char const *,char const *,unsigned char,unsigned short,unsigned char,unsigned char)" (?createBot@QuestManager@@QAE_NPBD0EGEE@Z)
questmgr.obj : error LNK2019: unresolved external symbol "public: static unsigned int __cdecl Bot::SpawnedBotCount(unsigned int,class std::basic_string,class std::allocator > *)" (?SpawnedBotCount@Bot@@SAIIPAV?$basic_string@DU?$c har_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: bool __thiscall QuestManager::createBot(char const *,char const *,unsigned char,unsigned short,unsigned char,unsigned char)" (?createBot@QuestManager@@QAE_NPBD0EGEE@Z)
spells.obj : error LNK2019: unresolved external symbol "public: bool __thiscall Bot::DoFinishedSpellGroupTarget(unsigned short,class Mob *,unsigned short,bool &)" (?DoFinishedSpellGroupTarget@Bot@@QAE_NGPAVMob@@GA A_N@Z) referenced in function "public: bool __thiscall Mob::SpellFinished(unsigned short,class Mob *,unsigned short,unsigned short,unsigned int,short)" (?SpellFinished@Mob@@QAE_NGPAV1@GGIF@Z)
spells.obj : error LNK2019: unresolved external symbol "public: bool __thiscall Bot::DoFinishedSpellAETarget(unsigned short,class Mob *,unsigned short,bool &)" (?DoFinishedSpellAETarget@Bot@@QAE_NGPAVMob@@GAA_N @Z) referenced in function "public: bool __thiscall Mob::SpellFinished(unsigned short,class Mob *,unsigned short,unsigned short,unsigned int,short)" (?SpellFinished@Mob@@QAE_NGPAV1@GGIF@Z)
spells.obj : error LNK2019: unresolved external symbol "public: bool __thiscall Bot::DoFinishedSpellSingleTarget(unsigned short,class Mob *,unsigned short,bool &)" (?DoFinishedSpellSingleTarget@Bot@@QAE_NGPAVMob@@G AA_N@Z) referenced in function "public: bool __thiscall Mob::SpellFinished(unsigned short,class Mob *,unsigned short,unsigned short,unsigned int,short)" (?SpellFinished@Mob@@QAE_NGPAV1@GGIF@Z)
zoning.obj : error LNK2019: unresolved external symbol "public: static void __cdecl Bot::ProcessClientZoneChange(class Client *)" (?ProcessClientZoneChange@Bot@@SAXPAVClient@@@Z) referenced in function "public: void __thiscall Client::Handle_OP_ZoneChange(class EQApplicationPacket const *)" (?Handle_OP_ZoneChange@Client@@QAEXPBVEQApplicatio nPacket@@@Z)
.\../Build/Zone.exe : fatal error LNK1120: 27 unresolved externals

Tabasco
10-15-2011, 04:33 PM
Those are all link errors concerning bot functions. If you were in linux you would need to be linking against bot.o, not sure how that's achieved in VCx. Maybe check the project dependencies and make sure bot functions are included in build list?

lerxst2112
10-15-2011, 07:20 PM
In Visual Studio it is all handled by choosing the ReleaseBots target.

The source you get out of SVN right now compiles without issues. I would check your code for modifications and revert anything that is changed.