Script Compilen fehler

11/03/2014 00:21 Stensch#1
Heyho hab ein script eingefügt und wollte dann die core neu Compilieren aber dann kommt immer diese fehlermeldung:

/root/335aTC/TrinityCore/src/server/game/Accounts/AccountMgr.cpp: In static member function ‘static bool AccountMgr::IsAdminAccount(uint32)’:
/root/335aTC/TrinityCore/src/server/game/Accounts/AccountMgr.cpp:397:23: error: ‘SEC_ADMINISTRATOR’ was not declared in this scope
compilation terminated due to -Wfatal-errors.
make[2]: *** [src/server/game/CMakeFiles/game.dir/Accounts/AccountMgr.cpp.o] Fehler 1
make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Fehler 2


Hilfe!!
11/03/2014 07:42 Kaev <3#2
Ohne Sourcecode wird dir keiner helfen können.
Was genau hast du an der AccountMgr.cpp geändert?
11/04/2014 15:58 - DK#3
Quote:
Originally Posted by Stensch View Post
Heyho hab ein script eingefügt und wollte dann die core neu Compilieren aber dann kommt immer diese fehlermeldung:

/root/335aTC/TrinityCore/src/server/game/Accounts/AccountMgr.cpp: In static member function ‘static bool AccountMgr::IsAdminAccount(uint32)’:
/root/335aTC/TrinityCore/src/server/game/Accounts/AccountMgr.cpp:397:23: error: ‘SEC_ADMINISTRATOR’ was not declared in this scope
compilation terminated due to -Wfatal-errors.
make[2]: *** [src/server/game/CMakeFiles/game.dir/Accounts/AccountMgr.cpp.o] Fehler 1
make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Fehler 2


Hilfe!!
/root/335aTC/TrinityCore/src/server/game/Accounts/AccountMgr.cpp:397:23: error: ‘SEC_ADMINISTRATOR’ was not declared in this scope

Wurde nicht deklariert ? Also fehlt da eine Deklaration. Dann solltest du compilen können ^^