Sketch won't compile after Library update

I got a notice within the IDE (v 2.2.1) to do an update, so I hit the button to automatically install the updates. I think it was libary updates but I'm not sure now. Now I get an error message trying to compile to a Nano IOT 33:

c:\Users\srbra\Dropbox\Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:12:10: fatal error: Adafruit_I2CDevice.h: No such file or directory
#include <Adafruit_I2CDevice.h>
^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

I have #include <Adafruit_GFX.h> in my sketch.

Help please?

It appears that library is gone. Try to reinstall it.

https://github.com/adafruit/Adafruit_VEML6075/issues/5

Install the Adafruit_BusIO library

I had similar problem with ST7735 tft display ......your suggestion was how I fixed that issue where it could not find Adafruit_I2CDevices a few days back.

Adafruit_I2CDevices is a part of Adafruit_BusIO library - so install it.

I deleted Adafruit_I2CDevices and reinstalled it. Working now.

Thanks!

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.