[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to run a Lua script file
- From: Philippe Lhoste <PhiLho@...>
- Date: Wed, 16 Sep 2009 18:07:21 +0200
On 15/09/2009 15:43, Anurag Sharma wrote:
I tried
when I try the following, I get error message
lua -e "package.path='\\mypath\?.lua;'..package.path" -lmyapp_Lua ...
The "mypath" needed to be replaced by to your real path.
On Tue, Sep 15, 2009 at 7:01 PM, steve donovan
<steve.j.donovan@gmail.com <mailto:steve.j.donovan@gmail.com>> wrote:
This error message is instructive; Lua is just telling you that your
myapp_Lua module is not found on the Lua module path. Is myapp_Lua.lua
in one of the these standard places? If not, either move it there, or
read up about the LUA_PATH environment variable.
To re-iterate Steve's question, where is your myapp_Lua.lua (or .dll) file? Is it in one
of the listed places?
Perhaps you need to specify a "current directory" to your process object.
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --