So I am using the ESP8266 InfluxDB library and some of its files require #include <memory>. Whenever I try to verify the code it fails and says there is no such file or directory. I dug through the library files and commented out the memory include but now it says it has the same issue with #include <vector>. These are both part of the C++ STL so I think the issue may be something to do with that but does anybody have a solution?
I have checked so many forums and cannot find anyone with the same issue. I tried on another laptop and it gave the same error.
I found a StandardCplusplus library which allows me to use the C++ STL as it doesn't come with the Arduino IDE. This fixed the issue.
Other issue is the ESP8266 InfluxDB library requires me to be programming directly to an ESP8266 board but I am not, I am programming an Arduino Uno that has an ESP8266 01 connected to it so the library wasn't compatible, but that's a different issue.
It would have been handy to know that at the beginning. Rather confusing given the title you chose for the thread. The Arduino cores for AVR boards indeed do not include the STL. However cores for other boards such as Teensy 3.x / 4.x and ESP8286 / ESP32 support the STL.