I've tried all different versions of Sublime Text. I checked, and LuaLove is checked in the Build System. Whenever I try to build a program I wrote, this pops up:
[WinError 2] The system cannot find the file specified
[cmd: ['lua', 'C:\\Khavan\\main.lua']]
[dir: C:\Khavan]
[path: C:\ProgramData\Oracle\Java\javapath;c:\Program Files (x86)\Intel\iCLS Client\;c:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Autodesk\Backburner\;C:\Program Files (x86)\QuickTime\QTSystem\]
[Finished]
I have no idea what this means. I checked the location of the lua file, but it still exists and the file is still there.
Also, here's the simple code I tried to run:
function love.draw()
love.graphics.print("Hello World!", 400, 300)
end
Love2d won't build with Sublime Text 3
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Love2d won't build with Sublime Text 3
This is the custom build system I have for ST3.
Just change that path to the path of love.exe on your machine and as long as you have set the project folder as your root folder (Project -> Add Folder to Project) it should run fine.
Code: Select all
{
"shell": true,
"cmd": ["B:/Program Files (x86)/LOVE/love.exe", "${project_path:${folder}}"]
}
Re: Love2d won't build with Sublime Text 3
Is there any way to get the love console to work?
Any build systems I try does not have the console even if I have it in the config file set.
Any build systems I try does not have the console even if I have it in the config file set.
- Chef_Panic
- Prole
- Posts: 5
- Joined: Sun Jan 05, 2014 9:05 pm
Re: Love2d won't build with Sublime Text 3
Add the following at the top of your main.lua file:adrix89 wrote:Is there any way to get the love console to work?
Any build systems I try does not have the console even if I have it in the config file set.
Code: Select all
io.stdout:setvbuf("no")
Re: Love2d won't build with Sublime Text 3
still no console when launch from sublime3io.stdout:setvbuf("no")
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Love2d won't build with Sublime Text 3
See this thread.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Who is online
Users browsing this forum: Google [Bot] and 15 guests