Postado Abril 25, 2017 8 anos Bom.. Estou tentando compilar esse servidor: Mas sempre quando tá no fim da compilação aparece esse log de erro: Spoiler commands.obj : error LNK2001: unresolved external symbol "public: bool __thiscall Store::reload(void)" (?reload@Store@@QAE_NXZ) game.obj : error LNK2001: unresolved external symbol "public: class boost::optional<class StoreOffer &> __thiscall Store::getOfferById(unsigned int)" (?getOfferById@Store@@QAE?AV?$optional@AAVStoreOffer@@@boost@@I@Z) game.obj : error LNK2001: unresolved external symbol "public: static unsigned int __cdecl IOAccount::getCoinBalance(unsigned int)" (?getCoinBalance@IOAccount@@SAII@Z) game.obj : error LNK2001: unresolved external symbol "public: bool __thiscall Store::executeOnBuy(class Player *,class StoreOffer *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?executeOnBuy@Store@@QAE_NPAVPlayer@@PAVStoreOffer@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) game.obj : error LNK2001: unresolved external symbol "public: static void __cdecl IOAccount::addCoins(unsigned int,int)" (?addCoins@IOAccount@@SAXIH@Z) game.obj : error LNK2001: unresolved external symbol "public: void __thiscall Store::onTransactionCompleted(unsigned int,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?onTransactionCompleted@Store@@QBEXIHABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) protocolgame.obj : error LNK2001: unresolved external symbol "public: bool __thiscall Store::executeOnRender(class Player *,class StoreOffer *)" (?executeOnRender@Store@@QAE_NPAVPlayer@@PAVStoreOffer@@@Z) protocolgame.obj : error LNK2001: unresolved external symbol "public: void __thiscall Store::getTransactionHistory(unsigned int,unsigned short,unsigned int,class std::vector<struct StoreTransaction,class std::allocator<struct StoreTransaction> > &)const " (?getTransactionHistory@Store@@QBEXIGIAAV?$vector@UStoreTransaction@@V?$allocator@UStoreTransaction@@@std@@@std@@@Z) scriptmanager.obj : error LNK2001: unresolved external symbol "public: __thiscall Store::Store(void)" (??0Store@@QAE@XZ) scriptmanager.obj : error LNK2001: unresolved external symbol "public: bool __thiscall Store::loadFromXml(bool)" (?loadFromXml@Store@@QAE_N_N@Z) C:\Users\xxxx\Desktop\xxxxx\xxxxx\vc14\Release\theforgottenserver.exe : fatal error LNK1120: 10 unresolved externals Preciso de ajuda pra poder resolver esse erro!
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.