I have looked around and it seems that there are no comprehensive tutorials on integrating LUA into a C++ application. What exact files must i have/include/link etc? Most tutorials don't describe this in any detail and i am left wondering what i need where.
Ok, i have managed to get it working for now. With the new version of LUA, different header files needed to be included and many of the old functions were changed.
luaL_openlibs just needs to be called in place of all of the other lib open functions and lua.hpp should be included instead of the three C header files.