Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vector: no such file or directory #79

Closed
jpmorris opened this issue Jul 4, 2020 · 4 comments
Closed

vector: no such file or directory #79

jpmorris opened this issue Jul 4, 2020 · 4 comments

Comments

@jpmorris
Copy link

jpmorris commented Jul 4, 2020

On linux (arch), installing latest arduino download from website. I get the following error:

In file included from /home/jmorris/Arduino/libraries/ESP8266_Influxdb/src/InfluxDbClient.h:33:0,
                 from /home/jmorris/commonDrive/CloudStation/docs/Arduino/influx_write/influx_write.ino:28:
/home/jmorris/Arduino/libraries/ESP8266_Influxdb/src/query/FluxParser.h:30:10: fatal error: vector: No such file or directory
 #include <vector>
          ^~~~~~~~
compilation terminated.

I've tried installing libaries 'Vector', 'ArduinoSTL' and others. Nothing enables vector support that this library uses.

Granted im a newbie and may be making a dumb mistake, but the instructions should say at least SOMETHING about installing vector support for people who start with vanilla install.

@vlastahajek
Copy link
Collaborator

@jpmorris, For which device are you trying to compile sketch? This library supports just ESP8266 (and its clones) and ESP32.
Both SDKs include STL.

@jpmorris
Copy link
Author

jpmorris commented Jul 5, 2020

I'm using an Arduino Uno Wifi V2 with the standard arduino IDE which I thought had a ESP32

https://www.arduino.cc/en/Guide/ArduinoUnoWiFiRev2

@vlastahajek
Copy link
Collaborator

Unfortunately, this device uses ESP32 as a peripheral for WiFi connection, not as the main chip.
So, the main WiFi library for your device is WIFININA, which is not supported yet.
See #66.

@jpmorris
Copy link
Author

jpmorris commented Jul 8, 2020

Ok Sorry for the noise. If you see this confusion more often than me, you probably should mention this weird case in the Readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants