I am working on a sketch to read temp & humidity from a DHT22 and then push it to an InfluxDB database so I can track the temperature in the room my home server lives in. I am using the ESP8266 Influxdb Library for InfluxDB. However, when I go to Verify/Compile my sketch I get the following error.
In file included from D:\Documents\Arduino\Arduino_Sensor_Data\Arduino_Sensor_Data.ino:6:0:
D:\Documents\Arduino\libraries\ESP8266_Influxdb/InfluxDb.h:16:16: fatal error: list: No such file or directory
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno.
Does anyone have any ideas what could be causing this?
ferfede87:
Also interested in how this was solved!
It's solved by compiling the code for the architecture it was written for (in this case ESP8266). Trying to use code that was specifically written for ESP8266 on an Uno will never work, even if you have an ESP8266 connected to the Uno.