I installed lfs via luarocks 2.4.2. At first, when trying to use lfs (lua -l lfs) I had the error
C:\Program Files\lua\5.2.4\bin\lua.exe: module 'lfs' not found:
no field package.preload['lfs']
no file 'C:\Program Files (x86)\LuaRocks\lua\lfs.lua'
no file 'C:\Program Files (x86)\LuaRocks\lua\lfs\init.lua'
no file 'C:\Program Files\lua\5.2.4\bin\lfs.dll'
no file 'C:\Program Files\lua\5.2.4\bin\loadall.dll'
no file '.\lfs.dll'
stack traceback:
[C]: in function '_G.require'
[C]: in ?
After copying the .dll to C:\Program Files\lua\5.2.4\bin\, I was able to execute the command lua -l lfs, but any attempt to use the commands caused Lua to abort. Here's what I mean:
I installed lfs via luarocks 2.4.2. At first, when trying to use lfs (
lua -l lfs
) I had the errorAfter copying the
.dll
toC:\Program Files\lua\5.2.4\bin\
, I was able to execute the commandlua -l lfs
, but any attempt to use the commands caused Lua to abort. Here's what I mean:As you can see, the program is aborted without any information. I don't know if this is relevant, but the error level is
-1073741819
.