petrockblog / ControlBlockService2

This is the driver for the ControlBlock re.v 2.X, a power switch and input/output/gameapd gadget for the Raspberry Pi

Home Page:https://controlblock.petrockblock.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

install broken

Siman1990 opened this issue · comments

Use the install script and it shutdowns the pi. Every time it starts it shuts itself down.

In file included from /home/pi/ControlBlockService2/src/controlblock/app/ControlBlock.h:30,
                 from /home/pi/ControlBlockService2/src/controlblock/app/ControlBlock.cpp:25:
/home/pi/ControlBlockService2/src/controlblock/app/PowerSwitch.h:26:10: fatal error: gpiod.hpp: No such file or directory
 #include <gpiod.hpp>
          ^~~~~~~~~~~
compilation terminated.
make[2]: *** [src/controlblock/app/CMakeFiles/controlblock-app.dir/build.make:63: src/controlblock/app/CMakeFiles/controlblock-app.dir/ControlBlock.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:673: src/controlblock/app/CMakeFiles/controlblock-app.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

This is what Im getting manually building it