Connor
Connor

Reputation: 47

compiling lua applications using wxluafreeze problems

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?

Upvotes: 0

Views: 387

Answers (1)

YxxY
YxxY

Reputation: 1

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

Upvotes: 0

Related Questions