Page 1 of 1

Can't run "Hello World" start project on Lubuntu 16.10

Posted: Sat Jun 10, 2017 4:19 am
by timmix
So I decided to start fooling around with LOVE, and figured I'd start with the getting started page (crazy concept I realize).
I added the PPA, installed it through terminal. I put in my source code:

Code: Select all

function love.draw()
    love.graphics.print("Hello World", 400, 300)
end
Saved it as main.lua, and went to run it.
To run it I went to terminal and gave the command:

Code: Select all

love /path/to/folder containing main.lua
Upon doing so I get a love window, labeled as untitled, with a black screen.
Here is what my terminal window error shows:

Code: Select all

AL lib: (WW) ALCjackBackendFactory_init: jack_client_open() failed, 0x11
AL lib: (WW) alc_initconfig: Failed to initialize backend "jack"
Please help me!!!

Re: Can't run "Hello World" start project on Lubuntu 16.10

Posted: Sat Jun 10, 2017 8:04 am
by zorg
Hi and welcome to the forums!

The two lines of warnings are irrelevant, they come from OpenALSoft (what gives sound to löve), and only says that it can't use the jack audio backend; it'll probably use something else, they're not errors.

The fact that a graphical window popped up without any blue error screen means that löve works, and it detected your main.lua file... the text "Hello World" should have appeared in that black window as white text though, if it didn't, try changing the two numbers to zeroes, so it'll print the text in the upper left corner.

Re: Can't run "Hello World" start project on Lubuntu 16.10

Posted: Sat Jun 10, 2017 2:42 pm
by MasterLee
Currently i have no use for it but it is possible to rename the audio output of löve? Maybe into app name.
Using Jack all apps are shown as alsoft
Bildschirmfoto von »2017-06-10 16-32-22«.png
Bildschirmfoto von »2017-06-10 16-32-22«.png (29.41 KiB) Viewed 2580 times
Using PulseAudio all apps are shown as LÖVE
Bildschirmfoto von »2017-06-10 16-36-10«.png
Bildschirmfoto von »2017-06-10 16-36-10«.png (28.83 KiB) Viewed 2580 times
Oh and another question is it possible to have more than two output channels?