On Thu, 11 Mar 2021 15:51:06 +0000 peter green <plugw...@p10link.net> wrote:
>
>  > The package 'libpigpiod-if-dev' should contain all the header files
and object
>
> No, it contains the header files and shared library symlinks for building
> against the libpigpio-if and libpigpio-if2 libraries.
>
> The server and direct access GPIO libraries are not packaged in Debian
> because they are not compatible with Debian kernels.
> In particular, pigpio relies on the userspace mainbox interface
> which is only present in downstream raspberry pi foundation
> kernels.
>
>

Peter,

Actually, the 'libpigpiod-if-dev' is missing the pigpio.h header file. This
is affecting all Debian OS systems along with Ubuntu. I am working on a
project called Open Astro (https://www.openastro.net/) which uses Raspberry
devices manufactured by ZWO called the ASIAIR used for AstroPhotography
to capture the objects from the night sky. The devices offer 5v power ports
that plug into the GPIO board and when compiling drivers created for INDI (
https://indilib.org/) they do not work as they require access to the
pigpio.h file which is not included.

The indi-asi-power driver requires the pigpiod_if2.h header file
https://github.com/indilib/indi-3rdparty/blob/master/indi-asi-power/asipower.cpp#L25

And the pigpiod_if2.h header file requires the pigpio.h file which is not
included in the 'libpigpiod-if-dev'
https://github.com/joan2937/pigpio/blob/master/pigpiod_if2.h#L31

Would it be possible to update the 'libpigpiod-if-dev' with all the header
files for Debian & Ubuntu from the current source library https://
github.com/joan2937/pigpio/?

Joey

Reply via email to