Skip to content

undefined reference to `i2cWriteByteData' #1

@F4HTB

Description

@F4HTB

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions