Page 1 of 1
Fedora
Posted: Wed Oct 15, 2014 7:11 am
by reaply
Hello, I just compiled Love2d on the Fedora distro. It was succesfull!
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?
Re: Fedora
Posted: Wed Oct 15, 2014 7:22 am
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
(There is a dot behind the love).
Re: Fedora
Posted: Wed Oct 15, 2014 7:27 am
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
(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)