|
Embedded Lua only works if I compile hello.cpp inside the folder which contains the random.so.I cannot seem to get require to work from lua in embedded c++ from any other directory.
You should try printing out the error from dofile. It may be helpful in debugging your problem.