How did you install WiringPi ? I installed it (on a Pi4 running Bookworm 64-bit) using the instructions on their GitHub https://github.com/WiringPi/WiringPi from the release package wiringpi_3.16_arm64.debGet their example code myapp.c and compile it, linking to wiringPi. All OK.Does that work for you?
Code:
sudo apt install ./wiringpi_3.16_arm64.debCode:
gcc -o myapp myapp.c -l wiringPiStatistics: Posted by neilgl — Thu Jul 17, 2025 10:22 am