can't run on raspberry pi 4B+
See original GitHub issueDescribe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Download the latest .jar from the releases page (3.8.6)
- Run
java -jar Unciv.jar
- Get error
If game data is required, please add from menu, save game, copy to clipboard, paste here
Expected behavior Unciv should launch.
Error Exception in thread “main” java.lang.UnsatisfiedLinkError: Unable to load library ‘discord-rpc’: Native library (linux-arm/libdiscord-rpc.so) not found in resource path (Unciv.jar) at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:303) at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:427) at com.sun.jna.Library$Handler.<init>(Library.java:179) at com.sun.jna.Native.loadLibrary(Native.java:569) at com.sun.jna.Native.loadLibrary(Native.java:544) at club.minnced.discord.rpc.DiscordRPC.<clinit>(DiscordRPC.java:42) at com.unciv.app.desktop.DesktopLauncher.tryActivateDiscord(DesktopLauncher.kt:63) at com.unciv.app.desktop.DesktopLauncher.main(DesktopLauncher.kt:33)
Screenshots
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top GitHub Comments
Okay I was completely not expecting ANYONE to run this on Raspberry Pi It turns out there is no Discord RPC for ARM processors https://www.reddit.com/r/discordapp/comments/blt3c8/rich_presence_and_discord_on_arm_processors/
I’ll try to detect if you’re using ARM processors and disable the Discord I guess…?
I think dealing with several errors like that will fix this issue. It shouldn’t be that hard.
I am also getting the same errors #4943
With some work this project might be considered as a classic game to play on Raspberry Pi?