Building on Ubuntu 22.04.3 (LTS) fails:
gcc -DCONFIG=\"/etc/ncid/artech2ncid.conf\" -DPIDFILE=\"/var/run/artech2ncid.pid\" -I. -I.. -I../lib -I/usr/local/include -Wmissing-declarations -Wunused-variable -Wparentheses -Wreturn-type -Wuninitialized -Wsign-compare -Wformat -Wformat-zero-length -Wno-stringop-truncation -c artech2ncid.c
In file included from artech2ncid.c:26:
artech2ncid.h:41:10: fatal error: hidapi/hidapi.h: No such file or directory
41 | #include <hidapi/hidapi.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
This can be corrected by installing the package libhidapi-dev, which is not listed among the required DEB packages in the INSTALL file.
Anonymous
The INSTALL-DEB section in the website, and also in the source, list the libhidapi-devel package as required
From the required section, libhidapi-dev is on the second line as indicated by "-->":
You probably missed it, but thanks for reporting a possible error. It might worthwhile to include a script that would install the required packages.