1. Abra o arquivo: /usr/include/boost/filesystem/config.hpp
Na linha 16, troque != 3 para != 2
2. otsystem.h, antes de: (± linha 125)
#define foreach BOOST_FOREACH
#define reverse_foreach BOOST_REVERSE_FOREACH
#endif
adicione:
#if BOOST_VERSION < 104400
#define BOOST_DIR_ITER_FILENAME(iterator) (iterator)->path().filename()
#else
#define BOOST_DIR_ITER_FILENAME(iterator) (iterator)->path().filename().string()
#endif
luascript.cpp, troque: (± linha 740)
std::string s = it->leaf();
por:
std::string s = BOOST_DIR_ITER_FILENAME(it);
scriptmanager.cpp (± linha 130), faça a mesma coisa