У меня проблема. Я установил: apt-get install autoconf build-essential pkg-config automake libboost-all-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libmysqlclient-dev libssl-dev libsqlite3-dev
Ошибка : luascript.cpp:726:23: error: ‘class boost::filesystem::directory_entry’ has no member named ‘leaf’
Код: std::string s = it->leaf();