I've been trying to do this for a day. I've read through the documentation, and searched online for help. I just can't seem to figure it out between different versions of boost/lua/luabind used with precompiled headers, and VS2010 vs VS2012.
I found a great website here http://blog.nuclex-games.com/tutorials/cxx/luabind-introduction/ but when I follow those instructions I get LNK2019 errors (I'm assuming because he build luabind/boost/lua for VS2010.
I also found this, http://urbsch.at/?read=1 I took the project and changed the addresses to my boost/lua files and it compiled fine but when I tried to run my project that is using luabind I still received LNK2019 errors.
I'm using visual studios 2012. If someone could list out some step by step instructions I would be so grateful. Including what to download and where and what to add in the project properties. Because at this point I'm sure I'll mess it up if It's not foolproof.
These is one of the 49 errors I often end up with.
1>ScriptManager.obj : error LNK2019: unresolved external symbol _lua_gettop referenced in function "public: __thiscall luabind::adl::index_proxy::index_proxy(class luabind::adl::object const &,struct lua_State *,char const (&)[13])" (??$?0$$BY0N@$$CBD@?$index_proxy@Vobject@adl@luabind@@@adl@luabind@@QAE@ABVobject@12@PAUlua_State@@AAY0N@$$CBD@Z)