I have a program that I have been working on and the setup has been fine. I started the ide and connected my esp32 and the ide in the output section asked if I wanted to update something and its dependencies so I said yes. I think it is to do with wire.h and twowire? and it seems that the soc.h file is gone too. I am not sure of the protocol, so I have only posted some of the compilation errors, which I suspect are not errors related to the sketch as it has been working fine with no change to the working code.
*
#include <Wire.h>
#include <Adafruit_MCP23X17.h>
Adafruit_MCP23X17 mcp;
Here are a small pice of the compile errors:
In file included from
C:\Users\peter\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\libraries\Wire\src/Wire.h:39,
from C:\Users\peter\OneDrive\Documents\Arduino\Traffic_Lights_Fully_Working_copy_for_updates\Traffic_Lights_Fully_Working_copy_for_updates.ino:2:
C:\Users\peter\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\cores\esp32/HardwareI2C.h:24:1: error: expected unqualified-id before 'class'
24 | class HardwareI2C : public Stream {
| ^~~~~
C:\Users\peter\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\libraries\Wire\src/Wire.h:55:36: error: expected class-name before '{' token
55 | class TwoWire : public HardwareI2C {
| ^
C:\Users\peter\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\libraries\Wire\src/Wire.h:92:8: error: 'bool TwoWire::begin()' marked 'override', but does not override
92 | bool begin() override final {
| ^~~~~
C:\Users\peter\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\libraries\Wire\src/Wire.h:92:8: error: 'bool TwoWire::begin()' marked 'final', but is not virtual
C:\Users\peter\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\libraries\Wire\src/Wire.h:96:8: error: 'bool TwoWire::begin(uint8_t)' marked 'override', but does not override
96 | bool begin(uint8_t address) override final {
| ^~~~~
Help would be very much appreciated, as searching just takes me to github and the libraries which were the latest ones.
Please excuse any typos I missed as I have Parkinsons' so typing can be difficult.
My apologies if I have posted to the wrong category.