Since he didn't post the solution, here it is; Click on all errors that arise, and add luajit/ in front of the includes.
Example: #include <luajit/lua.hpp>
Keep at it until they go away, it's because they haven't updated the source code on OTClient to match the LUA libraries, which is now...