-
Notifications
You must be signed in to change notification settings - Fork 493
fatal error: string: No such file or directory #include <string> #242
Comments
Any solution for this issue? |
same problem!! did any of you solve it????? |
I got the same problem. Any solution? |
Did you select/install the ESP8266 core in the |
I'm having the same issue. |
This is really stupid. Why would you write such a library if you can use it only with ESP8266? I have a 3g module for instance. |
Any update to this? It seems the library only works for the ESP core, but I actually want to use the Arduino board with a serial connection to the ESP. Looking for the solution to this. |
@jfrankert you'd have to define your own protocol to communicate between the ESP and the Arduino board. You can find an example of this in https://github.com/firebase/firebase-arduino/tree/master/contrib/examples |
@proppy Thanks for the link, but this is definitely out of my skill set. Do you have more information or some more guidance? I am certainly able to write AT commands to the ESP from the Arduino core, but haven't traveled down this path before. |
https://github.com/firebase/firebase-arduino/tree/master/contrib/examples/FirebaseSerialHost_ESP8266 contains the sketch to deploy to the ESP You can then make Firebase API call from the Arduino using the Serial protocol defined by @ed7coyne here https://github.com/firebase/firebase-arduino/blob/master/contrib/src/modem/serial_protocol.md |
@proppy - Unfortunately, I need more details. I have no problem trying to setup libraries for the serial protocol and firebase connections to share with the community, but could you give me an few examples of the above so I can better grasp it. |
Let's continue the discussion in #297 |
FirebaseArduino.h:20:18: fatal error: string: No such file or directory. I having the same issue! help. I'm interfacing GSM module 800a with my Arduino Uno |
In file included from /Users/damianvandekauter/Documents/Arduino/libraries/Firebase/Firebase.h:25:0, from /Users/damianvandekauter/Documents/Arduino/libraries/Firebase/FirebaseArduino.h:22, from /Users/damianvandekauter/Documents/Arduino/Kamer_Damian/Kamer_Damian.ino:3: /Users/damianvandekauter/Documents/Arduino/libraries/Firebase/FirebaseHttpClient.h:4:18: fatal error: string: No such file or directory #include <string> ^ compilation terminated. exit status 1 Fout bij het compileren van board Arduino/Genuino Uno
I got this error en did some research and changed to <string.h> but now i get a lot of other errors like this:
In file included from /Users/damianvandekauter/Documents/Arduino/libraries/Firebase/Firebase.h:25:0, from /Users/damianvandekauter/Documents/Arduino/libraries/Firebase/FirebaseArduino.h:22, from /Users/damianvandekauter/Documents/Arduino/Kamer_Damian/Kamer_Damian.ino:3: /Users/damianvandekauter/Documents/Arduino/libraries/Firebase/FirebaseHttpClient.h:18:33: error: 'string' in namespace 'std' does not name a type virtual void begin(const std::string& url) = 0; ^ /Users/damianvandekauter/Documents/Arduino/libraries/Firebase/FirebaseHttpClient.h:19:33: error: 'string' in namespace 'std' does not name a type virtual void begin(const std::string& host, const std::string& path) = 0; ^ /Users/damianvandekauter/Documents/Arduino/libraries/Firebase/FirebaseHttpClient.h:19:58: error: 'string' in namespace 'std' does not name a type virtual void begin(const std::string& host, const std::string& path) = 0; ^ /Users/damianvandekauter/Documents/Arduino/libraries/Firebase/FirebaseHttpClient.h:23:37: error: 'string' in namespace 'std' does not name a type virtual void addHeader(const std::string& name, const std::string& value) = 0; ^
I have the same issue on memory , or vector, utility,...
The text was updated successfully, but these errors were encountered: