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

undefined reference to `i2cWriteByteData' #1

Open
F4HTB opened this issue Jul 2, 2023 · 0 comments
Open

undefined reference to `i2cWriteByteData' #1

F4HTB opened this issue Jul 2, 2023 · 0 comments

Comments

@F4HTB
Copy link

F4HTB commented Jul 2, 2023

Same problem as:
folkhack/adxl345spi@93c8b0a

new make file:

LDFLAGS=-lpigpio
CFLAGS=-Wall
CC=gcc
LIBS = -L /usr/local/include -lpigpio -lrt

all:
        $(CC) $(CFLAGS) test.c $(LIBS) -o test

clean:
        rm -f test

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

1 participant