The Luabind examples fail to compile. (This is on Ubuntu 12.04)
The "no matching function call" errors actually also occur on many of attempts at binding stuff in my code.
$ g++ -c filesystem.cpp -I /usr/include/lua5.1
In file included from filesystem.cpp:15:0:
directory_iterator.hpp:29:44: fatal error: luabind/detail/implicit_cast.hpp: No such file or directory
compilation terminated.
$ ... commenting out that include ...
$ g++ -c filesystem.cpp -I /usr/include/lua5.1
filesystem.cpp: In function ‘void bind_filesystem(lua_State*)’:
filesystem.cpp:35:36: error: no matching function for call to ‘luabind::class_<boost::filesystem3::path>::def(const char [7], <unresolved overloaded function type>)’
filesystem.cpp:35:36: note: candidates are:
/usr/include/luabind/class.hpp:571:11: note: template<class F> luabind::class_& luabind::class_::def(const char*, F) [with F = F, T = boost::filesystem3::path, X1 = luabind::detail::unspecified, X2 = luabind::detail::unspecified, X3 = luabind::detail::unspecified, luabind::class_<T, X1, X2, X3> = luabind::class_<boost::filesystem3::path>]
/usr/include/luabind/class.hpp:580:11: note: template<class F, class DefaultOrPolicies> luabind::class_& luabind::class_::def(const char*, F, DefaultOrPolicies) [with F = F, DefaultOrPolicies = DefaultOrPolicies, T = boost::filesystem3::path, X1 = luabind::detail::unspecified, X2 = luabind::detail::unspecified, X3 = luabind::detail::unspecified, luabind::class_<T, X1, X2, X3> = luabind::class_<boost::filesystem3::path>]
/usr/include/luabind/class.hpp:588:11: note: template<class F, class Default, class Policies> luabind::class_& luabind::class_::def(const char*, F, Default, const Policies&) [with F = F, Default = Default, Policies = Policies, T = boost::filesystem3::path, X1 = luabind::detail::unspecified, X2 = luabind::detail::unspecified, X3 = luabind::detail::unspecified, luabind::class_<T, X1, X2, X3> = luabind::class_<boost::filesystem3::path>]