J'essaye d'installer la librairie ArduiPi_OLED, sur 3 cartes Raspberry diférentes (B,B+,2B) toutes à jour ( Version 4.14.33+ #1108 Mon Apr 9 17:19:29 BST 2018 armv6l) ou (V 4.14.33-v7+ #1109 SMP Tue Apr 10 17:28:38 BST 2018 armv7l GNU/Linux).
J'ai toujours l'erreur suivante lors du "make":
---- copie d'écran ------
pi@pi15 ~/ArduiPi_OLED $ sudo make
g++ -Wall -fPIC -fno-rtti -Ofast -mfpu=vfp -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -c ArduiPi_OLED.cpp
ArduiPi_OLED.cpp: In member function ‘void ArduiPi_OLED::putSeedChar(char)’:
ArduiPi_OLED.cpp:635:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
./ArduiPi_OLED_lib.h: At global scope:
./ArduiPi_OLED_lib.h:58:21: warning: ‘oled_type_str’ defined but not used [-Wunused-variable]
g++ -Wall -fPIC -fno-rtti -Ofast -mfpu=vfp -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -c Adafruit_GFX.cpp
./ArduiPi_OLED_lib.h:58:21: warning: ‘oled_type_str’ defined but not used [-Wunused-variable]
gcc -Wall -fPIC -Ofast -mfpu=vfp -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -c bcm2835.c
gcc -Wall -fPIC -Ofast -mfpu=vfp -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -c Wrapper.cpp
Wrapper.cpp: In function ‘int16_t Wrapper_DisplayWidth()’:
Wrapper.cpp:233:1: warning: no return statement in function returning non-void [-Wreturn-type]
Wrapper.cpp: In function ‘int16_t Wrapper_DisplayHeight()’:
Wrapper.cpp:238:1: warning: no return statement in function returning non-void [-Wreturn-type]
./ArduiPi_OLED_lib.h: At global scope:
./ArduiPi_OLED_lib.h:58:21: warning: ‘oled_type_str’ defined but not used [-Wunused-variable]
g++ -shared -Wl,-soname,libArduiPi_OLED.so.1 -Ofast -mfpu=vfp -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -o libArduiPi_OLED.so.1.0 ArduiPi_OLED.o Adafruit_GFX.o bcm2835.o Wrapper.o -li2c
/usr/bin/ld: ne peut trouver -li2c
collect2: ld returned 1 exit status
Makefile:54: recipe for target 'ArduiPi_OLED' failed
make: *** [ArduiPi_OLED] Error 1**
pi@pi15 ~/ArduiPi_OLED $
Puisse une bonne âme me donner une solution ?
Merci d'avance