I had to do several fixes to luabind 0.9 to compile on MSVC 10, it is plainly broken :/
Anyway, after I while it worked fine, except in the application that uses luabind, one single line refuses to compile, and I dunno why...
class_< vector<unsigned int> >("LayerList")
.def("GetCount", &vector<unsigned int>::size)
.def("Add", &vector<unsigned int>::push_back) //line that refuses to compile, no matter what I do.
So, .def("GetCount", &vector<unsigned int>::size) works fine, but .def("Add", &vector<unsigned int>::push_back) don't... I tried like "everything" that I could (even only randomly switching ordering of .defs, or even moving the stuff to other files, or places in the same file...)
The errors (it throw 9 errors in the same line) are all them about either wrong number of arguments, or not figuring what overload it is... like: