Unciv not working in Raspberry Pi 3B+ (Linux armhf)
See original GitHub issueHi! I tried to run Unciv in Raspberry Pi and got the following errors.
~$ java -jar Unciv.jar
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Packing textures - 349ms
Could not initialize Discord
Exception in thread "main" com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load shared library 'libgdxarm.so' for target: Linux, 32-bit
at com.badlogic.gdx.utils.SharedLibraryLoader.load(SharedLibraryLoader.java:126)
at com.badlogic.gdx.utils.GdxNativesLoader.load(GdxNativesLoader.java:31)
at com.badlogic.gdx.backends.lwjgl.LwjglNativesLoader.load(LwjglNativesLoader.java:46)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.<init>(LwjglApplication.java:83)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.<init>(LwjglApplication.java:71)
at com.unciv.app.desktop.DesktopLauncher.main(DesktopLauncher.kt:67)
Caused by: com.badlogic.gdx.utils.GdxRuntimeException: Unable to read file for extraction: libgdxarm.so
at com.badlogic.gdx.utils.SharedLibraryLoader.readFile(SharedLibraryLoader.java:134)
at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:290)
at com.badlogic.gdx.utils.SharedLibraryLoader.load(SharedLibraryLoader.java:122)
... 5 more
Note that Raspberry Pi comes pre-installed with Java 11. I tried to manually install java8-jre, setting it as default and run Unciv, but got same kind of error. I tried using Windows 32 bit jar. It also failed.
Issue Analytics
- State:
- Created 2 years ago
- Comments:23 (21 by maintainers)
Top Results From Across the Web
can't run on raspberry pi 4B+ · Issue #1624 · yairm210/Unciv
It turns out there is no Discord RPC for ARM processors ... I guess the framework doesn't work for Raspberry Pi at all,...
Read more >RaspberryPi3b+, Arm64? Armhf?
I am setting up a raspberry pi 3b+ and need to know which version to install from the downloads.raspberrypi.org. Thanks. Running Arch Linux...
Read more >Installation problem on Raspberry Pi 4 Debian 10
The commands: sudo apt install ffmpeg sudo apt-get install libavcodec-dev libswresample-dev libavformat-dev libavfilter-dev.
Read more >10 Game Servers You Can Run on a Raspberry Pi
The Raspberry Pi can do many wonderful things, including run as a game server. Here are some of the best games it can...
Read more >https://raw.githubusercontent.com/voc/33C3_schedul...
13;
The discussion will include:
- The law and policy issues in the FBI v. ... DVB - a Raspberry Pi and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@asda488 @yairm210 yes the Game is confirmed to be working on Raspberry Pi from version 3.18.0. The command
java -jar Unciv.jar
works fine. I have tested Mods too. BothRekMOD
and5Hex Tileset
is working fine. And yes I am using an Raspberry Pi OSarmhf
. Here is a Screenshot from Pi,Ok, so does the latest release has this fix? Ok I will start testing now.
Update: I tested Release 3.17.14 but it threw the following error.
Update 2: Ok, 3.17.14 was released 2 days ago while the commit https://github.com/yairm210/Unciv/commit/25cad3aef2e3fb38a2088840cf7c768021cd2fb8 was made yesterday. I need to wait for the next release to test it.