Compile error

Issue #134 closed
oldmagic created an issue

../game/libgame.a(botmgr.cpp.o): In function BotMgr::RecallAllBots()': /home/wow/TrinityCore/src/server/game/AI/NpcBots/botmgr.cpp:992: undefined reference tobot_ai::CCed(Unit const*, bool)'
../game/libgame.a(botmgr.cpp.o): In function BotMgr::RecallBot(Creature*)': /home/wow/TrinityCore/src/server/game/AI/NpcBots/botmgr.cpp:1000: undefined reference tobot_ai::CCed(Unit const*, bool)'
../game/libgame.a(bpet_ai.cpp.o): In function bot_pet_ai::SetBotCommandState(CommandStates, bool, Position*)': /home/wow/TrinityCore/src/server/game/AI/NpcBots/bpet_ai.cpp:1887: undefined reference tobot_ai::CCed(Unit const*, bool)'
../game/libgame.a(bpet_ai.cpp.o): In function bot_pet_ai::CCed(Unit const*, bool)': /home/wow/TrinityCore/src/server/game/AI/NpcBots/bpet_ai.cpp:1887: undefined reference tobot_ai::CCed(Unit const*, bool)'
../game/libgame.a(bpet_ai.cpp.o): In function bot_pet_ai::GetInPosition(bool, Unit*, Position*)': /home/wow/TrinityCore/src/server/game/AI/NpcBots/bpet_ai.cpp:1887: undefined reference tobot_ai::CCed(Unit const*, bool)'
../game/libgame.a(bpet_ai.cpp.o):/home/wow/TrinityCore/src/server/game/AI/NpcBots/bpet_ai.cpp:1887: more undefined references to `bot_ai::CCed(Unit const*, bool)' follow
clang: error: linker command failed with exit code 1 (use -v to see invocation)
src/server/worldserver/CMakeFiles/worldserver.dir/build.make:213: recipe for target 'src/server/worldserver/worldserver' failed
make[2]: *** [src/server/worldserver/worldserver] Error 1
CMakeFiles/Makefile2:1623: recipe for target 'src/server/worldserver/CMakeFiles/worldserver.dir/all' failed
make[1]: *** [src/server/worldserver/CMakeFiles/worldserver.dir/all] Error 2
Makefile:129: recipe for target 'all' failed

Comments (2)

  1. Log in to comment