lua-users home
lua-l archive

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


Hi 
I have tried the commands mentioned there. But it gives me error. 
Here is what I tried

cmd.exe /K lua.exe -lmyapp_Lua 'C:\\a\\ScriptingLanguageSupport\\Lua1.lua'

It opened a command prompt with the following error message.

lua.exe: module 'myapp_Lua' not found:
        no field package.preload['myapp_Lua']
        no file '.\myapp_Lua.lua'
        no file 'C:\Program Files\Lua\5.1\lua\myapp_Lua.lua'
        no file 'C:\Program Files\Lua\5.1\lua\myapp_Lua\init.lua'
        no file 'C:\Program Files\Lua\5.1\myapp_Lua.lua'
        no file 'C:\Program Files\Lua\5.1\myapp_Lua\init.lua'
        no file 'C:\Program Files\Lua\5.1\lua\myapp_Lua.luac'
        no file '.\myapp_Lua.dll'
        no file '.\myapp_Lua51.dll'
        no file 'C:\Program Files\Lua\5.1\myapp_Lua.dll'
        no file 'C:\Program Files\Lua\5.1\myapp_Lua51.dll'
        no file 'C:\Program Files\Lua\5.1\clibs\myapp_Lua.dll'
        no file 'C:\Program Files\Lua\5.1\clibs\myapp_Lua51.dll'
        no file 'C:\Program Files\Lua\5.1\loadall.dll'
        no file 'C:\Program Files\Lua\5.1\clibs\loadall.dll'
stack traceback:
        [C]: ?
        [C]: ?


Thanks
Anurag

On Tue, Sep 15, 2009 at 6:30 PM, George Petsagourakis <petsagouris@gmail.com> wrote:
What you need to know about the lua.exe and other stuff is found in the manual[1]

 [1] http://www.lua.org/manual/5.1/manual.html#6