When trying to compile Lua project under DS 2.1.1 I get following error:
Description Resource Path Location Type
'C:\Program' is not recognized as an internal or external command,
operable program or batch file. main.lua /lua/src-lua/lua line 1 Lua Compilation errors
Compilation under DS 2.1.0 passes OK.
I guess double quotes are missing somewhere?
To resolve this issue, go to the Developer Studio parent directory (by default it is C:\Program Files\Sierra Wireless\Developer Studio) -> plugins -> com.wavecom.openat.ide.luacompiler.win32_2.0.0.201102171614-R6456=>executables. Open the file “lua2flash.lua” and change the line:
local cmd = “$LUAC$ -o $TMP$ $FLASHFLAG$ $STRIPFLAG$ $SRC$ 2>&1” % options.
with
local cmd = “”$LUAC$" -o $TMP$ $FLASHFLAG$ $STRIPFLAG$ $SRC$ 2>&1" % options.