• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

compiling

omaralaa

New Member
Joined
Aug 21, 2016
Messages
12
Reaction score
1
Cannot open include file: 'pugixml.hpp': No such file or directory
this problem happens to me when i try to compile
any help?
 
i just fixed this error but this error appeared



Severity Code Description Project File Line Suppression State
Error LNK2001 unresolved external symbol "public: static unsigned int __cdecl IOAccount::getCoinBalance(unsigned int)" (?getCoinBalance@IOAccount@@SAII@Z) theforgottenserver D:\my ot\Global10.90\vc14\game.obj 1
Error LNK2001 unresolved external symbol "public: bool __cdecl Store::reload(void)" (?reload@Store@@QEAA_NXZ) theforgottenserver D:\my ot\Global10.90\vc14\commands.obj 1
Error LNK2001 unresolved external symbol "public: class boost::eek:ptional<class StoreOffer &> __cdecl Store::getOfferById(unsigned int)" (?getOfferById@Store@@QEAA?AV?$optional@AEAVStoreOffer@@@boost@@I@Z) theforgottenserver D:\my ot\Global10.90\vc14\game.obj 1
Error LNK2001 unresolved external symbol "public: bool __cdecl Store::executeOnBuy(class Player *,class StoreOffer *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?executeOnBuy@Store@@QEAA_NPEAVPlayer@@PEAVStoreOffer@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) theforgottenserver D:\my ot\Global10.90\vc14\game.obj 1
Error LNK2001 unresolved external symbol "public: static void __cdecl IOAccount::addCoins(unsigned int,int)" (?addCoins@IOAccount@@SAXIH@Z) theforgottenserver D:\my ot\Global10.90\vc14\game.obj 1
Error LNK2001 unresolved external symbol "public: void __cdecl Store::eek:nTransactionCompleted(unsigned int,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?onTransactionCompleted@Store@@QEBAXIHAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) theforgottenserver D:\my ot\Global10.90\vc14\game.obj 1
Error LNK2001 unresolved external symbol "public: bool __cdecl Store::executeOnRender(class Player *,class StoreOffer *)" (?executeOnRender@Store@@QEAA_NPEAVPlayer@@PEAVStoreOffer@@@Z) theforgottenserver D:\my ot\Global10.90\vc14\protocolgame.obj 1
Error LNK2001 unresolved external symbol "public: void __cdecl Store::getTransactionHistory(unsigned int,unsigned short,unsigned int,class std::vector<struct StoreTransaction,class std::allocator<struct StoreTransaction> > &)const " (?getTransactionHistory@Store@@QEBAXIGIAEAV?$vector@UStoreTransaction@@V?$allocator@UStoreTransaction@@@std@@@std@@@Z) theforgottenserver D:\my ot\Global10.90\vc14\protocolgame.obj 1
Error LNK2001 unresolved external symbol "public: __cdecl Store::Store(void)" (??0Store@@QEAA@XZ) theforgottenserver D:\my ot\Global10.90\vc14\scriptmanager.obj 1
Error LNK2001 unresolved external symbol "public: bool __cdecl Store::loadFromXml(bool)" (?loadFromXml@Store@@QEAA_N_N@Z) theforgottenserver D:\my ot\Global10.90\vc14\scriptmanager.obj 1
Error LNK1120 10 unresolved externals theforgottenserver D:\my ot\Global10.90\vc14\x64\Release\theforgottenserver.exe 1
 
How did you fix the previous error?
Check this video on minute 6:00

By using "show potential fixes" option like is shown in the video it should give you a command line to excequte on Gitbash to install the missing lib. If this still doesn't work, try ./vcpkg update too.
 
Back
Top