FirebaseExtended / firebase-arduino

Arduino samples for Firebase.
Apache License 2.0
945 stars 494 forks source link

Error compiling with the library #494

Closed ghost closed 4 years ago

ghost commented 4 years ago

Hi everyone, I'm trying to run a code on my Arduino Uno with FirebaseArduino library and ESP8266-01 module. But when I'm compiling the code I have this error message and I don't know how to fix it, can you help me?

Arduino 1.8.12 MacOS

Error:

In file included from /Users/pierre/Desktop/Eole Projet/eole_project_arduino/eole_project_arduino.ino:1:0: /Users/pierre/Documents/Arduino/libraries/firebase-arduino-master/src/FirebaseCloudMessaging.h:24:10: fatal error: memory: No such file or directory

include

      ^~~~~~~~

compilation terminated. exit status 1 Error compiling for board Arduino Uno.

Code:

include

include

include

include

include

include

include

include

include

include

include

include

include

include

include

include

include

include

include

include

include

include

include

include

define FIREBASE_HOST "............" // normally filled but I remove it for privacy reasons ;)

define FIREBASE_AUTH "............"

define WIFI_SSID "..........."

define WIFI_PASSWORD ".............."

void setup() {

Serial.begin(9600);

//Wifi WiFi.begin(WIFI_SSID, WIFI_PASSWORD); Serial.print("Connecting"); while(WiFi.status() != WL_CONNECTED) { Serial.print("."); delay(500); } Serial.println(); Serial.println("Connected"); Serial.print(WiFi.localIP());

Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH); delay(500);

}

void loop() { // put your main code here, to run repeatedly:

}

iammechanic-dev commented 3 years ago

Hi, did you solve this problem? If you did, how did you solve? I have almost same problem.