I am using Lua inside C# WinForms application for GUI automation testing. I want to use the logging library http://www.keplerproject.org/lualogging/
But I don’t know where to copy those logging library files and other standard lua files so that I can use the standard lua logging within the lua scripts.
I see something like LUA_PATH but still I don’t understand how to make the lua packing strcuture without installing it.
Did you tried to use LuaRocks.
Most libraries (including lualogging) are in the repositories, and the install is straightforward : luarocks install lualogging.
About the environment variables, you have to define two : LUA_PATH and LUA_CPATH.
If i’m correct, LUA_PATH is for the Lua libraries (i.e. mylib.lua), and LUA_CPATH is for the compiled binding to a native library (e.g. lsqlite3.so for the Sqlite binding).
Hope this helps.