1.6 is way out of date... I'm working with 2.2, because that is the version of binary load of gpiod that is in the Yocto Linux distribution that is available for the SOM we are using -- and we can't (for liability reasons) build our own Yocto distro.
-- Scott G. Hall Raleigh, NC, USA [email protected] *”**Failure is the opportunity to begin again more intelligently.” -- Henry Ford* On Sat, May 9, 2026, 10:28 AM Carl Nobile <[email protected]> wrote: > I don't have working examples, but I found a ton of resources. Try looking > at these. > > https://libgpiod.readthedocs.io/ > http://phwl.org/assets/images/2021/02/libgpiod-ref.pdf > > $ apt search libgpiod > Sorting... Done > Full Text Search... Done > gpiod/noble 1.6.3-1.1build1 amd64 > Tools for interacting with Linux GPIO character device - binary > libgpiod-dev/noble 1.6.3-1.1build1 amd64 > C library for interacting with Linux GPIO device - static libraries and > headers > libgpiod-doc/noble,noble 1.6.3-1.1build1 all > C library for interacting with Linux GPIO device - library documentation > libgpiod2t64/noble 1.6.3-1.1build1 amd64 > C library for interacting with Linux GPIO device - shared libraries > python3-libgpiod/noble 1.6.3-1.1build1 amd64 > Python bindings for libgpiod (Python 3) > > Notice the Python binding; this may help to get you started. > > ~Carl > > On Sat, May 9, 2026 at 1:13 AM Scott Hall via TriEmbed < > [email protected]> wrote: > >> I am stuck and hope someone in TriEmbed or EMP might know .. >> >> I need to program a Linux process using the libgpiod library's C++ >> bindings. Trouble is all the examples in the source repo don't compile, and >> all other forum answers regurgitate the same examples. The same >> environment's rebuilt commandline utilities work fine. >> >> Does anyone have any working example of reading some GPIO lines, and >> setting others? >> >> -- >> Scott G. Hall >> Raleigh, NC, USA >> [email protected] >> *”**Failure is the opportunity to begin again more intelligently.” -- >> Henry Ford* >> _______________________________________________ >> Triangle, NC Embedded Interest Group mailing list >> >> To post message: [email protected] >> List info: >> http://mail.triembed.org/mailman/listinfo/triembed_triembed.org >> TriEmbed web site: https://TriEmbed.org >> To unsubscribe, click link and send a blank message: mailto: >> [email protected]?subject=unsubscribe >> Searchable email archive available at >> https://www.mail-archive.com/[email protected]/ >> >> > > -- > -------------------------------------------------------------- > Carl J. Nobile (Software Engineer/API Design) > [email protected] > -------------------------------------------------------------- >
_______________________________________________ Triangle, NC Embedded Interest Group mailing list To post message: [email protected] List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org TriEmbed web site: https://TriEmbed.org To unsubscribe, click link and send a blank message: mailto:[email protected]?subject=unsubscribe Searchable email archive available at https://www.mail-archive.com/[email protected]/
