Hi there. Could please someone explain couple simple things, just getting annoyed with my inability to solve it by myself.
- I install this version of Lua for Windows in let’s say C:\Lua
https://github.com/rjpcomputing/luaforwindows/releases
It has many built-in modules, via luarocks, i guess? I need some of them.
But my lua-scripts are working in specific application and there’s no way they will be put in this C:\Lua directory.
How should I correctly point in my scripts where to find them(modules)? In C:\Lua there’s many folders and
with that luarocks thing I don’t understand where are those modules. They’re in different folders? Or it’s just one.
Or maybe through luarocks i can solve this?
- Another thing is about luarocks, I guess. I want to have another one module, luaposix
https://github.com/luaposix/luaposix
How to install it to this Lua for Windows installation?
I mean before Lua for Windows I was trying luarocks alone and haven’t succeed, it needed Lua already.
I couldn’t even install Lua alone - thanks that guy who created Lua for Windows .exe and at least now I can use some modules in scripts when put in this directory.
I’ve tried to google it, read advices but still fail to do the right steps, though it’s the very beginning
I apologize in advance if there’s an explanation of this on the forum which I haven’t awared of obviously
Also it’s interesting has anyone tried luaposix on Win7x64. Does it work at all…
And I use Lua 5.1 if it’s important