firebase-arduino icon indicating copy to clipboard operation
firebase-arduino copied to clipboard

Problem of library of firebase <FirebaseArduino.h>

Open mHsuann opened this issue 7 years ago • 9 comments
trafficstars

Hello, when I ran example "FirebaseDemo_ESP8266" , I got a mistake as following: #include <FirebaseArduino.h> #include <ESP8266WiFi.h> error message: ` C:\Users\USER\Documents\Arduino\libraries\firebase-arduino-master\src/FirebaseArduino.h:20:18: fatal error: string: No such file or directory

#include `

Then, I swap the code as following: #include <ESP8266WiFi.h> #include <FirebaseArduino.h> Got the error: ` C:\Users\USER\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:26:19: fatal error: queue.h: No such file or directory

#include <queue.h> `

I found some possible problem:

  1. Arduino IDE version INCOMPATIBLE -- Tried to use 1.8.5, 1.6.12 and failed; 1.6.9 doesn't have INCOMPATIBLE problem. But it still cannot run.
  2. Should install old library of firebase -- still cannot run

Please help me, thank you very much !

mHsuann avatar Oct 13 '18 09:10 mHsuann

Which board do you have selected in the Tools > Board menu?

per1234 avatar Oct 13 '18 14:10 per1234

@per1234 I selected Arduino/Genuino Uno because I used Arduino Uno R3 + ESP8266.

mHsuann avatar Oct 13 '18 17:10 mHsuann

I tried to selected Generic ESP8266 Module in the Tools > Board menu, then it compiled success ! But, does that means it cannot upload the codes to the Arduino Uno board?

mHsuann avatar Oct 13 '18 17:10 mHsuann

As you discovered, this library is for directly programming the ESP8266. You can't use it with your Uno.

per1234 avatar Oct 14 '18 08:10 per1234

whenever i use #include<FirebaseAudrino.h>, giving error of error compilng for NODE MCU. Please sugegst how i can rectify this issue

vicky7680 avatar Jan 11 '19 14:01 vicky7680

@mHsuann Try using the old library for FirebaseAudrino. Old Library. It worked for me then.

Sharan-ssr avatar Sep 17 '19 12:09 Sharan-ssr

@mHsuann Try using the old library for FirebaseAudrino. Old Library. It worked for me then.

I downloaded the old library from the link you sent, but it did not still work with uno. please can you explain how you did it

FelixAnosike avatar May 04 '20 10:05 FelixAnosike

@mHsuann Try using the old library for FirebaseAudrino. Old Library. It worked for me then.

work for me too

joaramirezra avatar Jun 28 '20 23:06 joaramirezra

@mHsuann Try using the old library for FirebaseAudrino. Old Library. It worked for me then.

work for me too

me too

mochammadfawwaz avatar Nov 30 '20 12:11 mochammadfawwaz