Closed berechetflorin closed 3 years ago
Also, from my recent notes:
Install libgpiod C library (version 1.4.2 seems fine for the 4.19 kernel on Raspbian buster)
git clone git://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
cd libgpiod
git checkout v1.4.2 -b v1.4.2
./autogen.sh --enable-tools=yes
make
sudo make install
Thanks for posting. Worked for me.
debian package for libgpiod is available. Manual compilation no longer needed.
I have been trying a whole weekend to install libgpiod on Raspbian - RPi ZeroW but no matter I did, when I ran autogen.sh, this stopped with this error:
I don't exactly know why this error(maybe it is related to this), i tried to install it on different Linux versions and machines but eventually I found another tutorial to install libgpiod (which worked): https://www.acmesystems.it/libgpiod
I hope this will help someone, as it definitely helped me.