mangos/mangos — Issue #20: Fatal error at compilation process
Author: serjs
Created: 2011-10-11 10:43:04+00:00
State: open

Hi, i have errors at compilation process, my error looks like:

/opt/wow/src/TrinityCore/src/server/game/Grids/ObjectGridLoader.cpp:85: error: cannot declare member function 'static void ObjectGridLoader::SetObjectCell(T*, const CellPair&)' to have static linkage
compilation terminated due to -Wfatal-errors.
make[2]: *** [src/server/game/CMakeFiles/game.dir/Grids/ObjectGridLoader.cpp.o] Error 1
make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2
make: *** [all] Error 2

I made cmake with options:
cmake . -DCMAKE_C_FLAGS="-O3" -DCMAKE_CXX_FLAGS="-O3" -DSERVERS=yes -DSCRIPTS=yes -DTOOLS=yes -DUSE_SCRIPTPCH=yes -DUSE_COREPCH=yes -DUSE_SFMT=yes -DPREFIX=/home/wowuser/wowserver -DCONF_DIR=/home/wowuser/wowserver/conf -DWITH_WARNINGS=yes -DLIBSDIR=/home/wowuser/wowserver/lib/