I'm trying to compile an ESP8266 programme (unchanged from earlier this year when it compiled OK) and get errors where the compiler is unable to find various #includes.
I'm using the library manager in VS to pull in the esp8266 libraries. I've tried different versions of the library - 2.6.1, 2.6.3, 2.7.1.
With 2.7.1 I fail:
arduino.h: 238:21: fatal error: algorithm: No such file or directory
The arduino.h is in "Arduino/cores/esp8266/" - where is <algorithm> ?
I've been manually searching for the various missing includes and copying them to a folder referenced in the "Deep Search" log - but can't find <algorithm>.
As this all used to work I'm pulling my hair out trying to work out what's changed and how I can fix this.