Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pi4j-example-minimal doesn't work on Raspberry Pi 5 #320

Closed
SergeySn opened this issue Feb 3, 2024 · 1 comment
Closed

pi4j-example-minimal doesn't work on Raspberry Pi 5 #320

SergeySn opened this issue Feb 3, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@SergeySn
Copy link

SergeySn commented Feb 3, 2024

I am trying to run pi4j-example-minimal as is on Raspberry Pi 5. It compiles fine. But when I try to run it I get this error:
[main] WARN com.pi4j.library.pigpio.impl.PiGpioNativeImpl - PIGPIO ERROR: PI_INIT_FAILED; pigpio initialisation failed
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException

What might be the problem?

P.S. I am using:
Java openjdk version "11.0.21" 2023-10-17 LTS
Apache Maven 3.8.7
Linux pi 6.1.0-rpi7-rpi-2712 1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux
Full log is here: error.txt
Any help is greatly appreciated.
Thanks a lot
Sergey

@FDelporte
Copy link
Member

Indeed, Pi4J is not yet compatible with RPi5, see #321

@FDelporte FDelporte added the duplicate This issue or pull request already exists label Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants