Tarmslitaren / FrosthavenAssistant

flutter app
GNU Affero General Public License v3.0
188 stars 49 forks source link

Running on Raspberry Pi #178

Open enstain-tm opened 1 year ago

enstain-tm commented 1 year ago

Hello, I have been trying to figure out how to run this on a Raspberry. We have a Kodi media center, and it would be great to use that to run this app on the screen. I have tried to run it on Raspbian, but no success. Could you compile a .deb package or provide instructions on how to compile this on the Raspbian OS (should be the same as Ubuntu I would assume). The provided linux file doesn't work. Which linux is it made for?

thanks

tux21b commented 1 year ago

The app is packaged for Linux with x86 (Intel/AMD) processors. The raspberry uses an ARM processor (like most phones, but without Android / iOS as runtime). So the precompiled binary will not work.

You should be able to compile it on your own though. Just follow to official flutter docs for compiling under Linux or for compiling for the web (this would allow you to open it in any browser).

Tarmslitaren commented 1 year ago

A heads up: you won't be able to run this in web, as it's using several libraries without web support (not least the tcp/ip connections)

enstain-tm commented 1 year ago

Hi, tried compiling on the pi, but it crashes every time. Perhaps not enough RAM (it's the 2 gb model)... 😕