ido@ido-laptop:~$ love
love: error while loading shared libraries: libopenal.so.1: cannot open shared object file: No such file or directory
ido@ido-laptop:~$ ls /usr/lib/libopenal*
/usr/lib/libopenal64.so /usr/lib/libopenal.so.1
/usr/lib/libopenal.so /usr/lib/libopenal.so.1.8.466
c = love.graphics.newColor(100, 0, 255)
love.graphics.setColor(c)
c = love.graphics.getColor()
--becomes:
c = {100, 0, 255}
love.graphics.setColor(unpack(c))
c = {love.graphics.getColor()}
ido@ido-laptop:~$ love
love: error while loading shared libraries: libopenal.so.1: cannot open shared object file: No such file or directory
ido@ido-laptop:~$ ls /usr/lib/libopenal*
/usr/lib/libopenal64.so /usr/lib/libopenal.so.1
/usr/lib/libopenal.so /usr/lib/libopenal.so.1.8.466
ido@ido-laptop:~$ love
love: error while loading shared libraries: libopenal.so.1: cannot open shared object file: No such file or directory
ido@ido-laptop:~$ ldd love
ldd: ./love: No such file or directory
ido@ido-laptop:~$ ls -l /usr/lib/libopenal.so.1
lrwxrwxrwx 1 root root 14 2009-12-22 13:38 /usr/lib/libopenal.so.1 -> libopenal64.so
$ sudo apt-get install libopenal1
Reading package lists... Done
Building dependency tree
Reading state information... Done
libopenal1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Trying to port my engine over, but can't remember all the new stuff. Like how do I do the main loop now? I saw an example before but I have no idea where it went now. My code is complex. But after removing the love.filesystem. from the require() functions I now get a black screen instead of a blue error. So I'm on my way. But where do I go from here? I would have hoped for another error screen to guide me. I guess not since it is now acting like a blank .love file with no code.
If you're getting a black screen, you probably haven't fixed your callbacks. All the callbacks are now in the love table - e.g. instead of update(dt) and draw(), it's love.update(dt) and love.draw().
That should get LÖVE to run said callbacks, so you can debug all the other inevitable errors that will crop up.