[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Luafilesystem problem
- From: "Jérôme Vuarand" <jerome.vuarand@...>
- Date: Mon, 21 May 2007 18:43:25 -0400
2007/5/21, Steve Heller <steveheller@sbcglobal.net>:
I can't seem to get the luafilesystem library to work.
No matter what I do, I get a popup message that says
"The application has failed to start because
lua.5.1.dll was not found. Re-installing the
application may fix the problem." When I click "OK", I
get the following:
lua: error loading module 'lfs' from file
'D:\dev\lua\lua-5.1\src\lfs.dll':
The specified module could not be found.
stack traceback:
[C]: ?
[C]: in function 'require'
dirtest.lua:1: in main chunk
[C]: ?
Any suggestions as to how I can get this to work?
Obviously it is on Windows.
How did you build lua and lfs ? What version of Lua and lfs are you using ?
It seems that your lfs.dll is looking for lua.5.1.dll, and your lua
dll has a different name (probably lua5.1.dll or lua51.dll). To fix
the problem you can either create a special forwarding dll called
lua.5.1.dll that will forward all calls to your dll (whatever its
name), or you can rebuild lfs and/or lua to have them use matching dll
names.