Jump to content

[9232] Linux build broken


Recommended Posts

Posted

Making all in game

make[3]: Entering directory `/tmp/mangos/build/src/game'

CXX AccountMgr.o

CXX AchievementMgr.o

In file included from ../../../src/game/ObjectMgr.h:37,

from ../../../src/game/AchievementMgr.cpp:25:

../../../src/game/Guild.h: In member function 'void Guild::BroadcastWorker(Do&, Player*)':

../../../src/game/Guild.h:346: error: 'ObjectAccessor' has not been declared

CXX AggressorAI.o

make[3]: *** [AchievementMgr.o] Error 1

Posted
can be fixed by adding

#include "ObjectAccessor.h"

into src/game/Guild.h

Possible this can be better in general but in result includes in ObjectAccessor.h we will have cyclic dependences in .h files.

Need first cleanup ObjectAccessor.h part.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use