How to install 11.2 on Raspbian?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
Ratchet
Citizen
Posts: 67
Joined: Mon Apr 08, 2013 10:32 am

How to install 11.2 on Raspbian?

Post by Ratchet »

Raspbian only installs 0.9.1 but I want to use 11.2. Is there a way to get it to run (without compiling it)?
The AppImage version don't work (wrong binary format).
macOS 10.14 Mojave | LÖVE 11.2
User avatar
Stifu
Party member
Posts: 106
Joined: Mon Mar 14, 2016 9:53 am
Contact:

Re: How to install 11.2 on Raspbian?

Post by Stifu »

I don't know. But RetroPie (which is based on Raspbian) ships LÖVE 11.1.
Zabuyaki, our upcoming beat 'em up: https://www.zabuyaki.com
User avatar
Ratchet
Citizen
Posts: 67
Joined: Mon Apr 08, 2013 10:32 am

Re: How to install 11.2 on Raspbian?

Post by Ratchet »

Yeah, and it's fine to run games, what I do already, but I also want to work on my game and it woulb be cool to do it from the Raspbian desktop environment.
macOS 10.14 Mojave | LÖVE 11.2
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: How to install 11.2 on Raspbian?

Post by raidho36 »

You're in luck, because to make LOVE games you need nothing more than LOVE app and a text editor! Just fire up whatever programmer's notepad you're using and create Lua source code files in a folder of your choice. Then pass this folder to LOVE executable, and it'll run your game from source! And packaging the game is as simple as zipping the folder contents and changing filename extension from .zip to .love

I would recommend against using RPi for development though, if you have access to a computer then use that instead.
User avatar
Ratchet
Citizen
Posts: 67
Joined: Mon Apr 08, 2013 10:32 am

Re: How to install 11.2 on Raspbian?

Post by Ratchet »

raidho36 wrote: Wed Jun 12, 2019 10:25 pm You're in luck, because to make LOVE games you need nothing more than LOVE app and a text editor! Just fire up whatever programmer's notepad you're using and create Lua source code files in a folder of your choice. Then pass this folder to LOVE executable, and it'll run your game from source! And packaging the game is as simple as zipping the folder contents and changing filename extension from .zip to .love

I would recommend against using RPi for development though, if you have access to a computer then use that instead.
That's what I already do. Additionally I what to run it on Raspbian now.
macOS 10.14 Mojave | LÖVE 11.2
User avatar
pgimeno
Party member
Posts: 3544
Joined: Sun Oct 18, 2015 2:58 pm

Re: How to install 11.2 on Raspbian?

Post by pgimeno »

Why not compiling it, then? This made it for me (although I have compiled other programs, so I probably had a few dependencies installed):

Code: Select all

sudo apt-get install build-essential mercurial cmake libmodplug-dev libsdl2-dev libtheora-dev libmpg123-dev
hg clone https://bitbucket.org/rude/love
cd love
mkdir build
cd build
cmake ..
make
If it passes 'cmake ..', it will probably compile. If it complains, you may need to install other dependencies that I have forgotten.

You need OpenGL enabled in X Window, of course.

The above compiles the latest head, which is a WIP version of 11.3. If you want 11.2 explicitly, after 'cd love' run 'hg up 11.2'.
User avatar
Ratchet
Citizen
Posts: 67
Joined: Mon Apr 08, 2013 10:32 am

Re: How to install 11.2 on Raspbian?

Post by Ratchet »

Worked fine. Only libvorbis-dev, libopenal-dev and libluajit-5.1 were missing. But then it compiled and runs good.
Thanks :)
macOS 10.14 Mojave | LÖVE 11.2
Post Reply

Who is online

Users browsing this forum: No registered users and 61 guests