TrinityCore/TrinityCore — Issue #5521: error compile in linux
Author: tortosi
Created: 2012-03-01 21:50:25+00:00
State: open

theese is the error:

[ 10%] Building CXX object src/server/worldserver/CMakeFiles/worldserver_pch_dephelp.dir/worldserver_pch_dephelp.cxx.o
In file included from /home/marc/Repos/TrinityCore/src/server/game/AI/CreatureAI.h:24:0,
from /home/marc/Repos/TrinityCore/src/server/game/Grids/Notifiers/GridNotifiers.h:32,
from /home/marc/Repos/TrinityCore/src/server/scripts/PrecompiledHeaders/ScriptPCH.h:12,
from /home/marc/Repos/TrinityCore/build/src/server/scripts/scripts_pch_dephelp.cxx:1:
/home/marc/Repos/TrinityCore/src/server/game/Texts/CreatureTextMgr.h: In member function ‘void CreatureTextMgr::SendChatPacket(WorldObject*, const Builder&, ChatMsg, uint64, TextRange, Team, bool) const’:
/home/marc/Repos/TrinityCore/src/server/game/Texts/CreatureTextMgr.h:185:34: error: ‘ObjectAccessor’ has not been declared
/home/marc/Repos/TrinityCore/src/server/game/Texts/CreatureTextMgr.h:241:5: error: ‘PlayerDistWorker’ is not a member of ‘Trinity’
/home/marc/Repos/TrinityCore/src/server/game/Texts/CreatureTextMgr.h:241:62: error: expected primary-expression before ‘>’ token
/home/marc/Repos/TrinityCore/src/server/game/Texts/CreatureTextMgr.h:242:42: error: ‘worker’ was not declared in this scope
Linking CXX static library libworldserver_pch_dephelp.a
[ 10%] Built target worldserver_pch_dephelp
[ 10%] Generating sharedPCH.h.gch/shared_Release.gch
Linking CXX static library libgame_pch_dephelp.a
[ 10%] Built target game_pch_dephelp
[ 10%] Generating collisionPCH.h.gch/collision_Release.gch
make[2]: *** [src/server/scripts/CMakeFiles/scripts_pch_dephelp.dir/scripts_pch_dephelp.cxx.o] Error 1
make[1]: *** [src/server/scripts/CMakeFiles/scripts_pch_dephelp.dir/all] Error 2
make[1]: *** Se espera a que terminen otras tareas....
[ 10%] Built target pch_Generate_collision
[ 10%] Built target pch_Generate_shared