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!!!
Run Love at the command line
Re: Run Love at the command line
What command did you use to run the example?
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Run Love at the command line
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:
Or, better, change to the demos directory and then just do love 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'
Code: Select all
cd 'D:\Program Files\LOVE062\demos'
love no.love
When I write def I mean function.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Run Love at the command line
Try running
The use of paths with spaces in Windows can be very frustrating.
EDIT: oh, kikito summed it up as well.
Code: Select all
love "D:\Program Files\LOVE062\demos\no.love"
EDIT: oh, kikito summed it up as well.
Help us help you: attach a .love.
-
- Prole
- Posts: 47
- Joined: Thu Sep 24, 2009 1:49 pm
Re: Run Love at the command line
OK,thank you;
after add quotation marks on the path,it will be OK.
after add quotation marks on the path,it will be OK.
Who is online
Users browsing this forum: Bing [Bot] and 0 guests