Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
timburks opened this issue Jan 9, 2021 · 1 comment
Open

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

timburks opened this issue Jan 9, 2021 · 1 comment

Comments

@timburks
Copy link

timburks commented Jan 9, 2021

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
Copy link
Owner

ardera commented Jan 12, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants