compiling lua applications using wxluafreeze problems

385 Views Asked by At

I am having a problem trying to compile a lua script to exe with wxluafreeze. I am typing this into cmd (all the files are in the same directory)-

wxluafreeze.lua "wxluafreeze.exe" "test.lua" "newprog.exe"

as well as

wxluafreeze.lua wxluafreeze.exe test.lua newprog.exe

but it keeps spitting out the text that tells you how to use wxluafreeze (ie, the text that appears when you input no arguments). I have never compiled a lua script to an executable before, so I am kind of lost. What am I doing wrong?

1

There are 1 best solutions below

2
On

For example in MSW in the wxLua\bin dir(you need copy "wxluafreeze.lua" to this dir for convenience): lua.exe wxluafreeze.lua wxluafreeze.exe myprogram.wx.lua myprogram.exe