Page 1 of 1

Why I can't start love in Mac~

Posted: Sun Jun 22, 2014 2:28 am
by CharAznable
I download the 0.91version for macosx-x64.
Then I put it in the /Application
Using the Terminal I press "love" and return.
It shows that " -bash: love: command not found"
SOMEBODY could help me?

Re: Why I can't start love in Mac~

Posted: Sun Jun 22, 2014 3:24 am
by Jasoco
Welcome to the forum.

The reason it isn't running from the Terminal is because the love binary (Inside the love.app package) is not on your PATH.

You can run it by using this command instead: /Applications/love.app/Contents/MacOS/love

Either way, just launching the love binary/application isn't going to run anything other than the No Game screen. You'll need to have a .love project to launch. At which point you can use the command as follows: /Applications/love.app/Contents/MacOS/love /Path/To/Love/Project.love

Someone can come along and help you figure out how to put the love binary on your PATH. I've never been able to figure that out myself.

Also, for the future, remember to use the Support forum instead of General. It has a better chance of gathering attention when you need help.

Re: Why I can't start love in Mac~

Posted: Sun Jun 22, 2014 4:06 am
by slime
Another option is to just drag your game's folder onto the love application to run it, or double-click a .love file to launch LÖVE automatically.
The terminal command is nice when you're rapidly reopening your game or you want to see the output of lua's print function, though.