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

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
timmix
Prole
Posts: 1
Joined: Sat Jun 10, 2017 4:10 am

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

Post 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!!!
User avatar
zorg
Party member
Posts: 3465
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

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

Post 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.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
MasterLee
Party member
Posts: 141
Joined: Tue Mar 07, 2017 4:03 pm
Contact:

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

Post 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 2578 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 2578 times
Oh and another question is it possible to have more than two output channels?
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest