t.Tpo -c -o chat.o chat.cpp
In file included from player.h:23:0,
from party.h:20,
from chat.h:24,
from chat.cpp:18:
creature.h: In member function ‘virtual double Creature::getGainedExperience(Creature*)’:
creature.h:357:25: error: invalid use of incomplete type ‘class Player’
bonus = player->getPartyBonus();
^
In file included from player.h:23:0,
from house.h:27,
from beds.cpp:20:
creature.h: In member function ‘virtual double Creature::getGainedExperience(Creature*)’:
creature.h:357:25: error: invalid use of incomplete type ‘class Player’
bonus = player->getPartyBonus();
^
In file included from player.h:23:0,
from actions.cpp:23:
creature.h: In member function ‘virtual double Creature::getGainedExperience(Creature*)’:
creature.h:357:25: error: invalid use of incomplete type ‘class Player’
bonus = player->getPartyBonus();
^
In file included from baseevents.h:22:0,
from raids.h:26,
from item.h:29,
from tile.h:23,
from map.h:26,
from creature.h:28,
from player.h:23,
from party.h:20,
from chat.h:24,
from chat.cpp:18:
luascript.h:72:7: note: forward declaration of ‘class Player’
class Player;
^
In file included from baseevents.h:22:0,
from actions.h:20,
from actions.cpp:20:
luascript.h:72:7: note: forward declaration of ‘class Player’
class Player;
^
In file included from baseevents.h:22:0,
from raids.h:26,
from item.h:29,
from beds.h:20,
from beds.cpp:19:
luascript.h:72:7: note: forward declaration of ‘class Player’
class Player;
^
Makefile:546: recipe for target 'actions.o' failed
make[1]: *** [actions.o] Error 1
make[1]: ** Esperando que outros processos terminem.
Makefile:546: recipe for target 'beds.o' failed
make[1]: *** [beds.o] Error 1
Makefile:546: recipe for target 'chat.o' failed
make[1]: *** [chat.o] Error 1
make[1]: Leaving directory '/home/ubuntu/Documentos/server/3777/src'
Makefile:403: recipe for target 'all' failed
make: *** [all] Error 2
ubuntu@ubuntu-DC8CU41:~/Documentos/server/3777/src$