Stéphan GUILLOUX | ||
40 avenue de la libération 57160 Châtel St-Germain | ||
LES LOGICIELS QUI VOUS DONNENT DES AILES ! - www.crisalid.com |
>> Am I missing something?
> The gpio handling was changed several kernels ago, IIRC you need you
> use libgpio now.
> I think I built it some time ago and put it here
> https://people.centos.org/pgreco/libgpiod/, let me know if it helps.
>>
I think I only needed to nstall these 3, but the 2nd one gives me some
trouble:
libgpiod-1.4.1-2.el7.armv7hl.rpm
libgpiod-devel-1.4.1-2.el7.armv7hl.rpm
libgpiod-utils-1.4.1-2.el7.armv7hl.rpm
[root@localhost libgpiod.rpms]# rpm -ivh
libgpiod-devel-1.4.1-2.el7.armv7hl.rpm
error: Failed dependencies:
libgpiodcxx.so.1 is needed by libgpiod-devel-1.4.1-2.el7.armv7hl
is the 2nd one, libgpiod-devel-1.4.1-2.el7.armv7hl.rpm, the one that has
the header files in it?
When I compile something simple I found:
$ make
cc main.c -lgpiod -D CONSUMER=\"libgpiod-led\" -o libgpiod-led
main.c:1:19: fatal error: gpiod.h: No such file or directory
#include <gpiod.h>
^
I did a 'find' on the whole filesystem, I don't seem to have it anywhere.
thanks,
Ron
_______________________________________________
Arm-dev mailing list
Arm-dev@centos.org
https://lists.centos.org/mailman/listinfo/arm-dev