ZhengPeiRu21 / mod-playerbots

AzerothCore Playerbots Module
MIT License
193 stars 93 forks source link

compile error with PlayerbotAI.h and PlayerbotAIConfig.h #159

Open langzaifei opened 1 year ago

langzaifei commented 1 year ago

branch: git clone https://github.com/ZhengPeiRu21/azerothcore-wotlk.git --branch Playerbot --single-branch azerothcore_playerbot --depth 1

when compile on mac. I meet this error: 1.modules/mod-playerbots/src/PlayerbotAI.h:186:5: error: expected identifier HUGE = 250 2.modules/mod-playerbots/src/PlayerbotAIConfig.h:116:14: error: no template named 'unordered_map' in namespace 'std'; did you mean 'unordered_set'? std::unordered_map<std::string, std::pair<FILE*, bool>> logFiles;

I Solved this by: 1.HUGE -> rename HUGE_TYPE 2.PlayerbotAIConfig.h add

include

Experience effect: http://lastwowhome.cn

Dreathean commented 10 months ago

@langzaifei please close out this issue if this has been resolved. Thanks!