Error compiling trinitycore 335 on last revision

Issue #55 resolved
AS Joao created an issue

Compiling the core 335 with the latest revision (bd8d0cfbc) and using Centos as OS (32bit's). Resulted in the following error:

[ 13%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/bot_ai.cpp.o /home/warcraft/335/bots2-core/src/server/game/AI/NpcBots/bot_ai.cpp: In member function ‘void bot_minion_ai::setStats(uint8, uint8, uint8, bool)’: /home/warcraft/335/bots2-core/src/server/game/AI/NpcBots/bot_ai.cpp:892: warning: enumeral and non-enumeral type in conditional expression /home/warcraft/335/bots2-core/src/server/game/AI/NpcBots/bot_ai.cpp: In member function ‘bool bot_minion_ai::OnGossipSelect(Player, Creature, uint32, uint32)’: /home/warcraft/335/bots2-core/src/server/game/AI/NpcBots/bot_ai.cpp:2998: error: ‘class Creature’ has no member named ‘SendPetCastFail’ compilation terminated due to -Wfatal-errors. make[2]: [src/server/game/CMakeFiles/game.dir/AI/NpcBots/bot_ai.cpp.o] Error 1 make[1]: [src/server/game/CMakeFiles/game.dir/all] Error 2

I apologize for my English.

Comments (2)

  1. Log in to comment