Hi
I'm new to LÖVE. Installation from version 0.91 under Linux Mint 17. When I start LOVE from terminal I get a comic screen messaging "no game!". The "Hello world"-example under LUA 5.2.3 ends in "attempt to index global 'love' (a nil value)...". Is LÖVE installed correctly ? What do I have to do ?
marare
Cannot use LÖVE after installation
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Cannot use LÖVE after installation
Last edited by marare on Thu Jul 24, 2014 6:10 am, edited 1 time in total.
- slime
- Solid Snayke
- Posts: 3170
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Cannot use LÖVE after installation
Yep! Check out the [wiki]Getting Started[/wiki] wiki page.marare wrote:Is LÖVE installed correctly ? What do I have to do ?
Re: Cannot use LÖVE after installation
Thanks for your quick answer.
But I followed "wiki: Getting started" step by step without success Error "Nil" may mean that LÖVE is not correctly installed ?! Please help.
But I followed "wiki: Getting started" step by step without success Error "Nil" may mean that LÖVE is not correctly installed ?! Please help.
- slime
- Solid Snayke
- Posts: 3170
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Cannot use LÖVE after installation
It sounds like you're trying to run your code through a separate Lua interpreter. Normally you'd run the love binary directly, e.g.
Where game_folder has main.lua inside.
Code: Select all
love /path/to/my/game_folder/
Re: Cannot use LÖVE after installation
Correct. I started code from Lua interpreter.
Will try your advice later back at home
Will try your advice later back at home
Re: Cannot use LÖVE after installation
Sorry, but I have still no success.
I created a file "main.lua" on the desktop containing the "hello world"-example. If I try to execute it by terminal I still get the comic screen messaging "no game!". What is my mistake ?
I created a file "main.lua" on the desktop containing the "hello world"-example. If I try to execute it by terminal
Code: Select all
me@mint ~/Desktop $ love
Re: Cannot use LÖVE after installation
... aaah
Now it works
Starting from root directory by
Strange behavior...
Many thanks for your help !!!
Now it works
Starting from root directory by
Code: Select all
me@mint / $ love /home/me/Desktop/
Many thanks for your help !!!
Who is online
Users browsing this forum: No registered users and 7 guests