[Arm-dev] libgpiod was Re: sysfs and gpio

Wed Jun 3 20:14:46 UTC 2020
R C <cjvijf at gmail.com>

yup,  that did it...  it also installs the actual libraries that way it 
seems.



On 6/3/20 2:11 PM, Stephan Guilloux wrote:
> I guess you need to install libgpio-c++ as well.
>
> logo_papillon_1.jpg
>
> 	
>
> color.jpg
>
> 	
>
> Stéphan GUILLOUXIngénieur Développement Sr
>
> 40 avenue de la libération 57160 Châtel St-GermainTél. 03 87 65 98 80 
> / poste 221stephan.guilloux at crisalid.com 
> <mailto:stephan.guilloux at crisalid.com>
>
> LES LOGICIELS QUI VOUS DONNENT DES AILES ! - www.crisalid.com 
> <http://www.crisalid.com>
>
>
>
>
> Le mer. 3 juin 2020 à 21:56, R C <cjvijf at gmail.com 
> <mailto:cjvijf at gmail.com>> a écrit :
>
>
>     >> 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 at 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 at centos.org <mailto:Arm-dev at centos.org>
>     https://lists.centos.org/mailman/listinfo/arm-dev
>
>
> _______________________________________________
> Arm-dev mailing list
> Arm-dev at centos.org
> https://lists.centos.org/mailman/listinfo/arm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/arm-dev/attachments/20200603/4da7df76/attachment-0005.html>