fix: ArduiPi_OLED wants -li2c
/usr/local/lib/libArduiPi_OLED.so: undefined reference to `i2c_smbus_write_i2c_block_data' /usr/local/lib/libArduiPi_OLED.so: undefined reference to `i2c_smbus_write_word_data' /usr/local/lib/libArduiPi_OLED.so: undefined reference to `i2c_smbus_write_byte_data' collect2: error: ld returned 1 exit status
This commit is contained in:
parent
2881e159c3
commit
d2ae736764
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
CC = gcc
|
||||
CXX = g++
|
||||
CFLAGS = -g -O3 -Wall -std=c++0x -pthread -DOLED -I/usr/local/include
|
||||
LIBS = -lArduiPi_OLED -lpthread
|
||||
LIBS = -lArduiPi_OLED -li2c -lpthread
|
||||
LDFLAGS = -g -L/usr/local/lib
|
||||
|
||||
OBJECTS = \
|
||||
|
|
Loading…
Reference in a new issue