excuse me, english is not my mother tongue.
i added “adafruit st7735 library” in platform.ini
:
lib_deps =
adafruit/Adafruit ST7735 and ST7789 Library @ ^1.10.3
some libraries can be downloaded to .pio/libdeps directory:
but when i build the project, the library “adafruit gfx” that “adafruit st7735 library” depends on cannot be found:
.pio/libdeps/genericGD32E230C8/Adafruit ST7735 and ST7789 Library/Adafruit_ST77xx.h:30:10: fatal error: Adafruit_GFX.h: No such file or directory
it has obviously been automatically downloaded, but cannot found, i don’t know why.
and then i tried to fix it:
build_flags =
-I"$PROJECT_LIBDEPS_DIR/$PIOENV/Adafruit GFX Library"
-I"$PROJECT_LIBDEPS_DIR/$PIOENV/Adafruit BusIO"
ok, now it can found those two library, but:
.pio/libdeps/genericGD32E230C8/Adafruit BusIO/Adafruit_I2CDevice.h:5:10: fatal error: Wire.h: No such file or directory
i’m so tired!!!
so what is the correct way to use lib_deps?
i really need your help, thank you guys.