Error compiling to NodeMCU with FirebaseArduino Library.

Hi all,

Just chasing some information or maybe a fix for an issue when compiling to Node MCU 1.0 (ESP-12E MODULE)

Here is what i am getting in my compiler window when trying to compile.

////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Arduino: 1.8.10 (Mac OS X),
Board: "NodeMCU 1.0 (ESP-12E Module),
80 MHz, Flash, Disabled, All SSL ciphers (most compatible),
4M (no SPIFFS),
v2 Lower Memory,
Disabled, None,
Only Sketch, 115200"

I/Users/loganjamesion/Documents/Arduino/libraries/firebase-arduino-master/src /var/folders/sk/zxm69rdx7c94hsg98r3f0j500000gn/T/arduino_build_159559/sketch/qq.ino.cpp -o /dev/null
Alternatives for ArduinoJson.h: []
ResolveLibrary(ArduinoJson.h)In file included from /Users/loganjamesion/Documents/Arduino/qq/qq.ino:1:0:

-> candidates: []
/Users/loganjamesion/Documents/Arduino/libraries/firebase-arduino-master/src/FirebaseCloudMessaging.h:29:25: fatal error: ArduinoJson.h: No such file or directory
Multiple libraries were found for "FirebaseCloudMessaging.h"
#include <ArduinoJson.h>
^
compilation terminated.
Used: /Users/loganjamesion/Documents/Arduino/libraries/firebase-arduino-master
Using library firebase-arduino-master at version 0.1 in folder: /Users/loganjamesion/Documents/Arduino/libraries/firebase-arduino-master
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).

////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Here is the code I am I am trying to compile

#include <FirebaseCloudMessaging.h>
#include <Firebase.h>
#include <FirebaseHttpClient.h>
#include <FirebaseArduino.h>
#include <FirebaseError.h>
#include <FirebaseObject.h>

void setup() {
// put your setup code here, to run once:

}

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

}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Everything compiles and upload nicely but as soon as I add the FireBase Library it won't compile, I have tried every firebase libary I can find inside Arduino IDE library manager and any lib from Git Hub.
I have reset my Mac Book back to factory setting but nothing seems to have work.

Any help would be greatly appreciated, I am fresh to this whole Micro Controller game so if this a a simple fix, have a laugh at my expense.

Cheers

Try

#include “Firebase.h”

This searches in your project folder for libraries. You set this in preferences. After you install a library in the manager you should find a “libraries” sub folder with your newly installed libraries inside.

Hey Klaus_K,

Thanks for the help, it didn't end up solving my issues but i have learnt a little more about Arduino IDE with your reply.

I solved the compiling issue, It was written right infront of me the whole time #include <ArduinoJson.h> was the missing library. ArduinoJson version 6 didn't compile but with some googling people said to install version 5 which did the trick.

Thanks again for your input. I hope this help someone else in the future.

Cheers