lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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
--  --  --  --  --  --  --  --  --  --  --  --  --  --