ardera / raspberrypi-fast-ts

A faster, lower-latency, userspace touchscreen input driver for the official Raspberry Pi 7" screen.
53 stars 5 forks source link

(minor) dependency: libi2c-dev required to build #4

Open timburks opened 3 years ago

timburks commented 3 years ago

If running make produces the following error,

$ make
cc ./raspberrypi-fast-ts.c -O2 -o ./raspberrypi-fast-ts
./raspberrypi-fast-ts.c:17:10: fatal error: i2c/smbus.h: No such file or directory
 #include <i2c/smbus.h>

this can be fixed with sudo apt-get install libi2c-dev

ardera commented 3 years ago

Thanks!

I think I can get it working without libi2c-dev. (Actually, I thought I was only using linux kernel headers in the first place) If that doesn't work I'll add that dependency to the readme