Using ESP32C3 dev module, the compiler fails in SSD1306Wire.h (library Version 4.6.1)
line84 this->_wire = (i2cBus == I2C_ONE) ? &Wire : &Wire1; ---> undefined Wire1
Workaround:
#undef ARDUINO_ARCH_ESP32
#define ARDUINO_ARCH_ESP8266 1
#include "SSD1306.h"
#define ARDUINO_ARCH_ESP32 1
#undef ARDUINO_ARCH_ESP8266
Defining ARDUINO_ARCH_ESP8266 is necessary to use alternate I2C pins.
ESP32 Board library V 2.0.18
ESP32 library V 3.2.0
I am quite new to all that, so it might be an issue on my side..