Fedora

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
reaply
Prole
Posts: 5
Joined: Tue Sep 09, 2014 5:03 am

Fedora

Post by reaply »

Hello, I just compiled Love2d on the Fedora distro. It was succesfull! :awesome:
I can launch love from terminal just fine, but it doesn't seem to detect the main.lua file. It contains the Hello World from the wiki. It is located in the same directory as love.

Any ideas?
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: Fedora

Post by micha »

When calling love you always need to give the location (the folder containing the main.lua) of the game as the first argument.

Code: Select all

love folder/which/contains/the/code
If you are inside the folder with the main.lua, then you can type

Code: Select all

love .
(There is a dot behind the love).
reaply
Prole
Posts: 5
Joined: Tue Sep 09, 2014 5:03 am

Re: Fedora

Post by reaply »

micha wrote:When calling love you always need to give the location (the folder containing the main.lua) of the game as the first argument.

Code: Select all

love folder/which/contains/the/code
If you are inside the folder with the main.lua, then you can type

Code: Select all

love .
(There is a dot behind the love).
Thanks for the much appreciated reply. But I cannot call love. It will just tell me that love is an unknown command. I assume I can make it a command but I don't really know how to do so.

SOLVED:

To fix this problem you need to create a Bash Alias (use http://www.stchman.com/alias.html as a reference.) (This is incase a goolge search brings someone here)
Post Reply

Who is online

Users browsing this forum: No registered users and 88 guests