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
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