Error compiling to Arduino mega

I was trying to use adafruit's oled library but i get this:

Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from C:\Users\LORENZO MIGUEL\OneDrive\Documents\Arduino\libraries\Adafruit_SSD1325_Library-master\examples\ssd1325test\ssd1325test.ino:20:0:

C:\Users\LORENZO MIGUEL\OneDrive\Documents\Arduino\libraries\Adafruit-GFX-Library-master/Adafruit_GFX.h:12:10: fatal error: Adafruit_I2CDevice.h: No such file or directory

#include <Adafruit_I2CDevice.h>

      ^~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

exit status 1

Error compiling for board Arduino Mega or Mega 2560.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

what do i do?

Install the Adafruit_I2CDevice library ?

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