hello
i got some errors while im trying to compile theforgottenserver in ubuntu
here is the errors log
this is my luascript.cpp file
luascript.cpp - Pastebin.com
and this is player.h file
player.h - Pastebin.com
i got some errors while im trying to compile theforgottenserver in ubuntu
here is the errors log
Code:
TheForgottenServer build script- seems to speed things up ALOT.
CCache: OK
CCache binaries located in /usr/lib/ccache
Building on 8 cores, using 9 processes
make all-am
make[1]: Entering directory `/var/source'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -pipe -MT luascript.o -MD -MP -MF .deps/luascript.Tpo -c -o luascript.o luascript.cpp
make[1]: *** No rule to make target `rsa.o', needed by `theforgottenserver'. Stop.
make[1]: *** Waiting for unfinished jobs....
In file included from luascript.cpp:26:0:
player.h: In member function 'uint32_t Player::getCastIpByName(std::string)':
player.h:213:11: warning: converting to non-pointer type 'uint32_t {aka unsigned int}' from NULL [-Wconversion-null]
luascript.cpp: In member function 'bool LuaInterface::loadDirectory(const string&, Npc*, bool)':
luascript.cpp:744:61: error: no match for 'operator+' in 'boost::filesystem3::path::filename() const() + "/"'
make[1]: *** [luascript.o] Error 1
make[1]: Leaving directory `/var/source'
make: *** [all] Error 2
orion2741:/var/source#
this is my luascript.cpp file
luascript.cpp - Pastebin.com
and this is player.h file
player.h - Pastebin.com
Last edited: