Hello,
I want to compilate TFS 0.4 3884 and i got this error :
What is reason ?
I want to compilate TFS 0.4 3884 and i got this error :
Code:
n.o -MD -MP -MF .deps/protocollogin.Tpo -c -o protocollogin.o protocollogin.cpp
luascript.cpp: In member function 'bool LuaInterface::loadDirectory(const string&, Npc*, bool)':
luascript.cpp:744:41: error: 'std::string' is not a class member
luascript.cpp:744:84: error: expected ')' before ';' token
luascript.cpp:744:84: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
luascript.cpp:744:102: warning: right operand of comma operator has no effect [-Wunused-value]
luascript.cpp:744:113: error: expected ';' before ')' token
luascript.cpp:745:17: warning: right operand of comma operator has no effect [-Wunused-value]
mv -f .deps/protocolhttp.Tpo .deps/protocolhttp.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__WAR_SYSTEM__ -D__GROUND_CACHE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT protocolold.o -MD -MP -MF .deps/protocolold.Tpo -c -o protocolold.o protocolold.cpp
make[1]: *** [luascript.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/protocollogin.Tpo .deps/protocollogin.Po
mv -f .deps/protocolold.Tpo .deps/protocolold.Po
mv -f .deps/protocolgame.Tpo .deps/protocolgame.Po
make[1]: Leaving directory `/home/ots3'
make: *** [all] Error 2