Page 1 of 1

Run Love at the command line

Posted: Thu Aug 05, 2010 1:45 pm
by poorenglish
In windows XP
I run the love from command line,I use the demo for test,
error
boot.lua 285:No code to run
Thank you!!!
fail.JPG
fail.JPG (147.3 KiB) Viewed 1844 times

Re: Run Love at the command line

Posted: Thu Aug 05, 2010 3:26 pm
by vrld
What command did you use to run the example?

Re: Run Love at the command line

Posted: Thu Aug 05, 2010 3:58 pm
by kikito
It's on the screenshot: love D:\Program Files\LOVE062\demos\no.love

I think the problem is on the space in D:\Program Files.

Try adding apostrophes:

Code: Select all

love  'D:\Program Files\LOVE062\demos\no.love'
Or, better, change to the demos directory and then just do love no.love:

Code: Select all

cd  'D:\Program Files\LOVE062\demos'
love no.love

Re: Run Love at the command line

Posted: Thu Aug 05, 2010 3:59 pm
by Robin
Try running

Code: Select all

love "D:\Program Files\LOVE062\demos\no.love"
The use of paths with spaces in Windows can be very frustrating. :P

EDIT: oh, kikito summed it up as well.

Re: Run Love at the command line

Posted: Sat Aug 07, 2010 9:55 am
by poorenglish
OK,thank you;
after add quotation marks on the path,it will be OK.