Jump to content

Can't compile 18-04-2011


Guest ifilgud

Recommended Posts

Hi! I have updated to the code to latest with 'git pull' (last commit: a8d1da629087b07705ce3c6b3ea3199c9fde2b5a) and I'm getting this error:

[ 23%] Building CXX object src/game/CMakeFiles/game.dir/Level2.cpp.o

In file included from /home/beto/mangos/fuente/src/game/Opcodes.h:32:0,

from /home/beto/mangos/fuente/src/game/Unit.h:24,

from /home/beto/mangos/fuente/src/game/Creature.h:23,

from /home/beto/mangos/fuente/src/game/ObjectMgr.h:26,

from /home/beto/mangos/fuente/src/game/Level2.cpp:22:

/home/beto/mangos/fuente/src/game/WorldSession.h:51:6: error: use of enum 'LfgType' without previous declaration

In file included from /home/beto/mangos/fuente/src/game/Opcodes.h:32:0,

from /home/beto/mangos/fuente/src/game/Unit.h:24,

from /home/beto/mangos/fuente/src/game/Creature.h:23,

from /home/beto/mangos/fuente/src/game/ObjectMgr.h:26,

from /home/beto/mangos/fuente/src/game/Level2.cpp:22:

/home/beto/mangos/fuente/src/game/WorldSession.h:235:35: error: 'LfgType2' has not been declared

LfgType is declared in Player.h but the reference in WorldSession.h is not working. I don't know how to solve the bug so I'm writing the post here without giving a solution, sorry.

I did 'git reset --hard' before compiling so it's not caused by custom patches.

Thanks in advance!

Link to comment
Share on other sites

×
×
  • 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