gcc lcdtest.c -Isrc/ -L./libpifacecad/ -lpifacecad -L./libmcp23s17/ -lmcp23s17 -o lcdtest
fails into:
lcdtest.c:1:23: fatal error: pifacecad.h: No such file or directory
compilation terminated.
let’s google:
#include
#include
#include “pifacecad.h”
now gcc lcdtest.c -Isrc/ -L./libpifacecad/ -lpifacecad -L./libmcp23s17/ -lmcp23s17 -o lcdtest
works