• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Ubuntu 11.10 error while compiling tfws 0.2.8

Zikerus

Nutria Developer
Joined
Mar 13, 2008
Messages
193
Reaction score
0
Location
Poole, UK
I am trying to compile TFS 0 2 8 on latest Ubuntu distro. This is an error that I am getting, why is that?

Code:
cc1plus: warnings being treated as errors
npc.cpp: In member function 'ResponseList Npc::loadInteraction(xmlNode*)':
npc.cpp:509:53: error: converting 'false' to pointer type for argument 2 of 'int32_t LuaScriptInterface::loadBuffer(const std::string&, Npc*)'
npc.cpp: In member function 'void Npc::processResponse(Player*, NpcState*, const NpcResponse*, bool)':
npc.cpp:1870:65: error: converting 'false' to pointer type for argument 2 of 'int32_t LuaScriptInterface::loadBuffer(const std::string&, Npc*)'
make: *** [npc.o] Error 1

Thanks in advance

@EDIT

when I delet -Werror from makefile it runs until the end and then it says it can't find -llua5.1-sqlite or smth like that ;D where can I get it from?
 
Last edited:
Back
Top