View Full Version : [SOLVED] error player.ccp help please

03-02-2015, 06:27 AM
Scanning dependencies of target game
[ 14%] Building CXX object src/server/game/CMakeFiles/game.dir/Entities/Player/Player.cpp.o
/home/TrinityCore/src/server/game/Entities/Player/Player.cpp: In member function ‘virtual void Player::Update(uint32)’:
/home/TrinityCore/src/server/game/Entities/Player/Player.cpp:1794:59: error: no matching function for call to ‘World::getBoolConfig(RealmZone)’
if (sWorld->getBoolConfig(CONFIG_FAKE_WHO_LIST))
compilation terminated due to -Wfatal-errors.
make[2]: *** [src/server/game/CMakeFiles/game.dir/Entities/Player/Player.cpp.o] Error 1
make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2
make: *** [all] Error 2

Lightning Blade
03-02-2015, 09:56 AM
I had this sort of problem on my own linux dedi.

I fixed it by installing something by the name kernel x ( something ).

03-02-2015, 06:08 PM
post code around
Player.cpp line 1794

The value is either not in the enum or you are using some wrong type, in which case we need more info like the whole patch or diff of your modifications etc etc.
enum WorldBoolConfigs

/// Get a server configuration element (see #WorldConfigs)
bool getBoolConfig(WorldBoolConfigs index) const
return index < BOOL_CONFIG_VALUE_COUNT ? m_bool_configs[index] : 0;

or then something is off ..