Hi Community.
I got some errors at compile tcore on linux:
Some Data about uses libs:
OS: Linux Debian Squeeze 6.0 (64 bit)
ACE-LIB: 5.7.8
OpenSSL: 0.9.8.o
MySQL: 5.1.49 Server/Client
TrinityCore Rev: 0afc3cf11050a1ec77ac23503d86abc2f89437ba
All dependency's are correctly installed.
Old Version are running fine: TrinityCore Hash: fade2383cceb (Unix, Release (little-endian)) (worldserver-daemon)
i've no patches applied.
Compile-Command: cmake /home/trinity/repos/TrinityCore.git -DPREFIX=/home/trinity/server_test -DCONF_DIR=/home/trinity/server_test/etc/ -DACE_INCLUDE_DIR=$HOME/.sys/include/ -DACE_LIBRARY=/home/trinity/.sys/lib/libACE-5.7.8.so -DTOOLS=1 -DUSE_COREPCH=0 -DWITH_WARNINGS=0
The Compile throws the follow error:
[ 12%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/CreatureAIRegistry.cpp.o
[ 12%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/CreatureAISelector.cpp.o
[ 12%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/CreatureAI.cpp.o
/home/trinity/repos/TrinityCore.git/src/server/game/AI/CreatureAI.cpp: In member function ‘void CreatureAI::DoZoneInCombat(Creature*)’:
/home/trinity/repos/TrinityCore.git/src/server/game/AI/CreatureAI.cpp:87: error: invalid use of incomplete type ‘const struct MapReference’
/home/trinity/repos/TrinityCore.git/src/server/game/Maps/MapRefManager.h:24: error: forward declaration of ‘const struct MapReference’
/home/trinity/repos/TrinityCore.git/src/server/game/AI/CreatureAI.cpp:89: error: invalid use of incomplete type ‘struct Player’
/home/trinity/repos/TrinityCore.git/src/server/game/Grids/GridDefines.h:32: error: forward declaration of ‘struct Player’
/home/trinity/repos/TrinityCore.git/src/server/game/AI/CreatureAI.cpp:92: error: invalid use of incomplete type ‘struct Player’
/home/trinity/repos/TrinityCore.git/src/server/game/Grids/GridDefines.h:32: error: forward declaration of ‘struct Player’
/home/trinity/repos/TrinityCore.git/src/server/game/AI/CreatureAI.cpp:94: error: no matching function for call to ‘Creature::SetInCombatWith(Player*&)’
/home/trinity/repos/TrinityCore.git/src/server/game/Entities/Unit/Unit.h:1510: note: candidates are: void Unit::SetInCombatWith(Unit*)
Can anyone give ma a hint how i can fix it ?
Thx.