I added the apport-collect and then downloaded the INDI Source Code (https://github.com/indilib/indi) and compiled it on the RPI4 that is using Ubuntu 20.04.04 LTS 32bit. I then installed the following libraries (sudo apt -y install libpigpiod-if-dev libpigpiod-if2-1 pigpio-tools). After that, I downloaded the INDI 3rd Party Source code and tried compiling the indi_asi_power driver (https://github.com/indilib/indi-3rdparty/tree/master/indi-asi-power) and received the following error
astro@openastro:~/Projects/build/indi-asi-power$ make
Scanning dependencies of target indi_asi_power
[ 50%] Building CXX object CMakeFiles/indi_asi_power.dir/asipower.cpp.o
In file included from /home/astro/Projects/indi-3rdparty/indi-asi-power/asipower.cpp:25:
/usr/include/pigpiod_if2.h:31:10: fatal error: pigpio.h: No such file or directory
31 | #include "pigpio.h"
| ^~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/indi_asi_power.dir/build.make:63: CMakeFiles/indi_asi_power.dir/asipower.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/indi_asi_power.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Because the Ubuntu Library is not up to date pigpio.h file is missing and not able to work properly with Rasberry Pi devices using the pigpio library
I added the apport-collect and then downloaded the INDI Source Code (https:/ /github. com/indilib/ indi) and compiled it on the RPI4 that is using Ubuntu 20.04.04 LTS 32bit. I then installed the following libraries (sudo apt -y install libpigpiod-if-dev libpigpiod-if2-1 pigpio-tools). After that, I downloaded the INDI 3rd Party Source code and tried compiling the indi_asi_power driver (https:/ /github. com/indilib/ indi-3rdparty/ tree/master/ indi-asi- power) and received the following error
astro@openastro :~/Projects/ build/indi- asi-power$ make indi_asi_ power.dir/ asipower. cpp.o Projects/ indi-3rdparty/ indi-asi- power/asipower. cpp:25: pigpiod_ if2.h:31: 10: fatal error: pigpio.h: No such file or directory indi_asi_ power.dir/ build.make: 63: CMakeFiles/ indi_asi_ power.dir/ asipower. cpp.o] Error 1 Makefile2: 76: CMakeFiles/ indi_asi_ power.dir/ all] Error 2
Scanning dependencies of target indi_asi_power
[ 50%] Building CXX object CMakeFiles/
In file included from /home/astro/
/usr/include/
31 | #include "pigpio.h"
| ^~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/
make[1]: *** [CMakeFiles/
make: *** [Makefile:130: all] Error 2
Because the Ubuntu Library is not up to date pigpio.h file is missing and not able to work properly with Rasberry Pi devices using the pigpio library