简体   繁体   中英

Error “#include <string> while compiling” when using Firebase Arduino library in Arduino Uno vs Ethernet shield

I want to use FirebaseArduino library (Realtime database) on my Arduino Uno vs Ethernet shield instead of using NodeMCU (Use wire instead of wireless).
But when compiling source this error occurred:

Documents/Arduino/libraries/firebase-arduino-master/src/FirebaseArduino.h:20:18: fatal error: string: No such file or directory 
#include <string>

Question 1
How could I resolve this problem?

Question 2
Could I use this library on Arduino Uno vs Ethernet shield? (This is written for ESP8266)

Because MCUs mounted on Arduinos don't have the horse power to handle https connections. ( https://arduino.stackexchange.com/questions/4/how-to-get-https-on-arduino or https://forum.arduino.cc/index.php?topic=427354.0 )
So I am going to build a small back-end to forward packet to Firebase Database. Like @King Reload mentioned: github.com/robertcedwards/httpFirebase.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM