Sublime Forum

Building Lua with Lua For Windows

#1

I am currently trying to get Sublime Text 2 to build my .Lua files using LuaForWindows.
All my previous attempts have failed.
I keep getting the following error message :

[Error 2] The system cannot find the file specified
[cmd: [u’lua’, u’C:\\Users\\***\\Documents\\Scripts\\LuaTest.lua’]]
[dir: C:\Users***\Documents\Scripts]
[path: C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;c:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;c:\Program Files (x86)\Common Files\Roxio Shared\DLLShared;c:\Program Files (x86)\Common Files\Roxio Shared\DLLShared;c:\Program Files (x86)\Common Files\Roxio Shared\12.0\DLLShared;C:\Program Files (x86)\Windows Live\Shared]
[Finished]

My Lua.sublime-build is the following :
{
“cmd”: “lua”, “$file”],
“file_regex”: “^(?:(?:\t)|(?:.+: ))(.+):([0-9]+): (.*)$”,
“selector”: “source.lua”
}
Can someone please help point me in the right direction for running Lua using sublime text 2?

0 Likes