Jump to content

Compile Error with Mangos, AHBot and PlayerBot merged..


Recommended Posts

Right, Heres what i have done >

Cloned Mangos to MangosSRC - Success

Added AHBot as a remote source, fetched and merged - Success

Have then Added PlayerBot as a remote source, fecthed and merged - Success

(as an intermediary step I compiled just Mangos and AHBot with out any issues, logged in, Auction house is populated, players can connect all good..)

BUT.. when I then try to compile with all 3 I receive this error and a big fat failure :(

11>     Creating library .\\mangosd__Win32_Release\\mangosd.lib and object .\\mangosd__Win32_Release\\mangosd.exp
11>game.lib(Group.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall PlayerbotMgr::~PlayerbotMgr(void)" (??1PlayerbotMgr@@UAE@XZ) referenced in function "public: virtual void * __thiscall PlayerbotMgr::`scalar deleting destructor'(unsigned int)" (??_GPlayerbotMgr@@UAEPAXI@Z)
11>game.lib(Player.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall PlayerbotMgr::~PlayerbotMgr(void)" (??1PlayerbotMgr@@UAE@XZ)
11>game.lib(WorldSession.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall PlayerbotMgr::~PlayerbotMgr(void)" (??1PlayerbotMgr@@UAE@XZ)
11>game.lib(CharacterHandler.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall PlayerbotMgr::~PlayerbotMgr(void)" (??1PlayerbotMgr@@UAE@XZ)
11>game.lib(Group.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotMgr::RemoveAllBotsFromGroup(void)" (?RemoveAllBotsFromGroup@PlayerbotMgr@@QAEXXZ) referenced in function "public: unsigned int __thiscall Group::RemoveMember(unsigned __int64 const &,unsigned char const &)" (?RemoveMember@Group@@QAEIAB_KABE@Z)
11>game.lib(Player.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall PlayerbotAI::~PlayerbotAI(void)" (??1PlayerbotAI@@UAE@XZ) referenced in function "public: virtual void * __thiscall PlayerbotAI::`scalar deleting destructor'(unsigned int)" (??_GPlayerbotAI@@UAEPAXI@Z)
11>game.lib(WorldSession.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall PlayerbotAI::~PlayerbotAI(void)" (??1PlayerbotAI@@UAE@XZ)
11>game.lib(ChatHandler.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall PlayerbotAI::~PlayerbotAI(void)" (??1PlayerbotAI@@UAE@XZ)
11>game.lib(QuestHandler.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall PlayerbotAI::~PlayerbotAI(void)" (??1PlayerbotAI@@UAE@XZ)
11>game.lib(Player.obj) : error LNK2019: unresolved external symbol "public: void __thiscall Creature::LoadBotMenu(class Player *)" (?LoadBotMenu@Creature@@QAEXPAVPlayer@@@Z) referenced in function "public: void __thiscall Player::PrepareGossipMenu(class WorldObject *,unsigned int)" (?PrepareGossipMenu@Player@@QAEXPAVWorldObject@@I@Z)
11>game.lib(Player.obj) : error LNK2019: unresolved external symbol "public: bool __thiscall Player::requiredQuests(char const *)" (?requiredQuests@Player@@QAE_NPBD@Z) referenced in function "public: void __thiscall Player::PrepareGossipMenu(class WorldObject *,unsigned int)" (?PrepareGossipMenu@Player@@QAEXPAVWorldObject@@I@Z)
11>game.lib(Player.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotMgr::LogoutPlayerBot(unsigned __int64)" (?LogoutPlayerBot@PlayerbotMgr@@QAEX_K@Z) referenced in function "public: void __thiscall Player::OnGossipSelect(class WorldObject *,unsigned int,unsigned int)" (?OnGossipSelect@Player@@QAEXPAVWorldObject@@II@Z)
11>game.lib(Player.obj) : error LNK2019: unresolved external symbol "public: class Player * __thiscall PlayerbotMgr::GetPlayerBot(unsigned __int64)const " (?GetPlayerBot@PlayerbotMgr@@QBEPAVPlayer@@_K@Z) referenced in function "public: void __thiscall Player::OnGossipSelect(class WorldObject *,unsigned int,unsigned int)" (?OnGossipSelect@Player@@QAEXPAVWorldObject@@II@Z)
11>game.lib(Player.obj) : error LNK2019: unresolved external symbol "public: __thiscall PlayerbotMgr::PlayerbotMgr(class Player * const)" (??0PlayerbotMgr@@QAE@QAVPlayer@@@Z) referenced in function "public: void __thiscall Player::OnGossipSelect(class WorldObject *,unsigned int,unsigned int)" (?OnGossipSelect@Player@@QAEXPAVWorldObject@@II@Z)
11>game.lib(Player.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotMgr::Stay(void)" (?Stay@PlayerbotMgr@@QAEXXZ) referenced in function "public: bool __thiscall Player::TeleportTo(unsigned int,float,float,float,float,unsigned int)" (?TeleportTo@Player@@QAE_NIMMMMI@Z)
11>game.lib(Player.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotMgr::UpdateAI(unsigned int)" (?UpdateAI@PlayerbotMgr@@QAEXI@Z) referenced in function "public: virtual void __thiscall Player::Update(unsigned int)" (?Update@Player@@UAEXI@Z)
11>game.lib(Player.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotAI::UpdateAI(unsigned int)" (?UpdateAI@PlayerbotAI@@QAEXI@Z) referenced in function "public: virtual void __thiscall Player::Update(unsigned int)" (?Update@Player@@UAEXI@Z)
11>game.lib(Chat.obj) : error LNK2019: unresolved external symbol "protected: bool __thiscall ChatHandler::HandlePlayerbotCommand(char const *)" (?HandlePlayerbotCommand@ChatHandler@@IAE_NPBD@Z) referenced in function "protected: class ChatCommand * __thiscall ChatHandler::getCommandTable(void)" (?getCommandTable@ChatHandler@@IAEPAVChatCommand@@XZ)
11>game.lib(WorldSession.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotMgr::HandleMasterOutgoingPacket(class WorldPacket const &)" (?HandleMasterOutgoingPacket@PlayerbotMgr@@QAEXABVWorldPacket@@@Z) referenced in function "public: void __thiscall WorldSession::SendPacket(class WorldPacket const *)" (?SendPacket@WorldSession@@QAEXPBVWorldPacket@@@Z)
11>game.lib(WorldSession.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotAI::HandleBotOutgoingPacket(class WorldPacket const &)" (?HandleBotOutgoingPacket@PlayerbotAI@@QAEXABVWorldPacket@@@Z) referenced in function "public: void __thiscall WorldSession::SendPacket(class WorldPacket const *)" (?SendPacket@WorldSession@@QAEXPBVWorldPacket@@@Z)
11>game.lib(WorldSession.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotMgr::LogoutAllBots(void)" (?LogoutAllBots@PlayerbotMgr@@QAEXXZ) referenced in function "public: void __thiscall WorldSession::LogoutPlayer(bool)" (?LogoutPlayer@WorldSession@@QAEX_N@Z)
11>game.lib(WorldSession.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotAI::HandleTeleportAck(void)" (?HandleTeleportAck@PlayerbotAI@@QAEXXZ) referenced in function __catch$?Update@WorldSession@@QAE_NI@Z$0
11>game.lib(WorldSession.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotMgr::HandleMasterIncomingPacket(class WorldPacket const &)" (?HandleMasterIncomingPacket@PlayerbotMgr@@QAEXABVWorldPacket@@@Z) referenced in function "public: bool __thiscall WorldSession::Update(unsigned int)" (?Update@WorldSession@@QAE_NI@Z)
11>game.lib(CharacterHandler.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotMgr::OnBotLogin(class Player * const)" (?OnBotLogin@PlayerbotMgr@@QAEXQAVPlayer@@@Z) referenced in function "public: void __thiscall CharacterHandler::HandlePlayerBotLoginCallback(class QueryResult *,class SqlQueryHolder *)" (?HandlePlayerBotLoginCallback@CharacterHandler@@QAEXPAVQueryResult@@PAVSqlQueryHolder@@@Z)
11>game.lib(ChatHandler.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotAI::HandleCommand(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class Player &)" (?HandleCommand@PlayerbotAI@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAVPlayer@@@Z) referenced in function "public: void __thiscall WorldSession::HandleMessagechatOpcode(class WorldPacket &)" (?HandleMessagechatOpcode@WorldSession@@QAEXAAVWorldPacket@@@Z)
11>game.lib(QuestHandler.obj) : error LNK2019: unresolved external symbol "public: void __thiscall PlayerbotAI::AcceptQuest(class Quest const *,class Player *)" (?AcceptQuest@PlayerbotAI@@QAEXPBVQuest@@PAVPlayer@@@Z) referenced in function "public: void __thiscall WorldSession::HandlePushQuestToParty(class WorldPacket &)" (?HandlePushQuestToParty@WorldSession@@QAEXAAVWorldPacket@@@Z)
11>..\\..\\bin\\Win32_Release\\mangosd.exe : fatal error LNK1120: 20 unresolved externals

I'm at a loss I don't know what it could be, any advice?..

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use