Hello I try compile Kentana 3.0 on linux. I using this tutorial Łatwy Kompilacja silnika Kentana pod linuksem but i have a problem
PLZ HELP ME !!
Code:
-c commands.cpp
gcc -I. -I/usr/include/libxml2 -I/usr/include/lua50 -I/usr/local/include -D__LINUX__ -DHUCZU_PVP -DHUCZU_SKULLS -DHUCZU_RECORD -DHUCZU_FOLLOW -DHUCZU_LOOT_INFO -DHUCZU_EXHAUSTED -DHUCZU_RRV -DHUCZU_SERVER_LOG -DHUCZU_PARCEL_SYSTEM -DHUCZU_BAN_SYSTEM -DHUCZU_STAGE_EXP -DHUCZU_PAY_SYSTEM -DHUCZU_NAPISY -D__MIZIAK_SUPERMANAS__ -D__MIZIAK_CREATURESCRIPTS__ -D__MIZIAK_TALKACTIONS__ -D__MIZIAK_TASKS__ -DYUR_CVS_MODS -DYUR_LOGIN_QUEUE -DYUR_BOH -DYUR_PVP_ARENA -DYUR_RINGS_AMULETS -DYUR_HIGH_LEVELS -DYUR_PREMIUM_PROMOTION -D_NG_BBK_SPAMSPELL__ -D__KIRO_AKT__ -DTLM_HOUSE_SYSTEM -DTRS_GM_INVISIBLE -DCVS_DAY_CYCLE -DFIXY -DTR_SUMMONS -Werror -g -ggdb -Winvalid-pch -include "preheaders.h" -c container.cpp
cc1plus: warnings being treated as errors
commands.cpp: In member function ‘bool Commands::showManaForLvl(Creature*, const std::string&, const std::string&)’:
commands.cpp:727: error: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘int32_t’
make: *** [commands.o] Error 1
PLZ HELP ME !!