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

Does not compile on raspberry pi 5 bookworm #3

Closed
jareddonovan opened this issue May 24, 2024 · 2 comments
Closed

Does not compile on raspberry pi 5 bookworm #3

jareddonovan opened this issue May 24, 2024 · 2 comments

Comments

@jareddonovan
Copy link

The GPIO halt utility does not compile on Raspberry Pi 5 (bookworm). It is included as part of the Adafruit Arcade Bonnet script and I have reported this separately on that repository:

Including here for completeness.

If I clone the repo and run make, the error I get is:

gpio-halt.c:63:10: fatal error: bcm_host.h: No such file or directory
    63 | #include <bcm_host.h>
       |          ^~~~~~~~~~~~
@jareddonovan jareddonovan changed the title Does not work on raspberry pi 5 bookworm Does not compile on raspberry pi 5 bookworm May 24, 2024
@jareddonovan
Copy link
Author

It would compile after I installed the following headers as per this raspberry pi stack exchange forum.

sudo apt-get install libraspberrypi-dev raspberrypi-kernel-headers

But it still doesn't seem to run.

@jareddonovan
Copy link
Author

I worked at this some more, but didn't get very far. It's a non issue really because you can just use the built-in power button on the raspberry pi 5. I had made a dumb mistake of commenting out the keybindings for this in ~/.config/wayfire.ini.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant