scriptmanager.cpp: In member function ‘bool ScriptManager::loadMods()’:
scriptmanager.cpp:131:23: error: ‘class boost::filesystem::directory_entry’ has no member named ‘leaf’
std::string s = it->leaf();
^
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[1]: *** [luascript.o] Error 4
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [scriptmanager.o] Error 1
make[1]: Leaving directory `/home/otsmanager/forgottenserver/sources'
make: *** [all] Error 2
root@176-31-82-125:/home/otsmanager/forgottenserver/sources# make -j `nproc`
make all-am
make[1]: Entering directory `/home/otsmanager/forgottenserver/sources'
CXX luascript.o
CXX scriptmanager.o
CXX vocation.o
In file included from /usr/include/boost/filesystem.hpp:15:0,
from scriptmanager.cpp:20:
/usr/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
# error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
^
In file included from /usr/include/boost/filesystem.hpp:15:0,
from luascript.cpp:21:
/usr/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
# error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
^
scriptmanager.cpp: In member function ‘bool ScriptManager::loadMods()’:
scriptmanager.cpp:131:23: error: ‘class boost::filesystem::directory_entry’ has no member named ‘leaf’
std::string s = it->leaf();
^
luascript.cpp: In member function ‘bool LuaInterface::loadDirectory(const string&, Npc*, bool)’:
luascript.cpp:742:23: error: ‘class boost::filesystem::directory_entry’ has no member named ‘leaf’
std::string s = it->leaf();
^
luascript.cpp:745:59: error: no match for ‘operator+’ (operand types are ‘boost::filesystem::path’ and ‘const char [2]’)
if(recursively && !loadDirectory(it->path().filename() + "/" + s, npc, recursively))
^
make[1]: *** [scriptmanager.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [luascript.o] Error 1
make[1]: Leaving directory `/home/otsmanager/forgottenserver/sources'
make: *** [all] Error 2
root@176-31-82-125:/home/otsmanager/forgottenserver/sources# make -j `nproc`
make all-am
make[1]: Entering directory `/home/otsmanager/forgottenserver/sources'
CXX luascript.o
CXX scriptmanager.o
In file included from /usr/include/boost/filesystem.hpp:15:0,
from scriptmanager.cpp:20:
/usr/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
# error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
^
In file included from /usr/include/boost/filesystem.hpp:15:0,
from luascript.cpp:21:
/usr/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
# error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
^
scriptmanager.cpp: In member function ‘bool ScriptManager::loadMods()’:
scriptmanager.cpp:131:23: error: ‘class boost::filesystem::directory_entry’ has no member named ‘leaf’
std::string s = it->leaf();
^
luascript.cpp: In member function ‘bool LuaInterface::loadDirectory(const string&, Npc*, bool)’:
luascript.cpp:742:23: error: ‘class boost::filesystem::directory_entry’ has no member named ‘leaf’
std::string s = it->leaf();
^
luascript.cpp:745:59: error: no match for ‘operator+’ (operand types are ‘boost::filesystem::path’ and ‘const char [2]’)
if(recursively && !loadDirectory(it->path().filename() + "/" + s, npc, recursively))