• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Firebase setup, missing libraries

Q&A Forum › Category: ESP8266 › Firebase setup, missing libraries
0 Vote Up Vote Down
Herman Van twillert asked 3 years ago

HI, I am using my book about Firebase_Web  based on arduino_IDE.
I followed all until I come to build the example copied from Firebase_send_date.ino.

compile errors occure about missing library  SdFat_-_Adafruit_Fork at version 1.2.4 in folder: D:\Arduino\libraries\SdFat_-_Adafruit_Fork:  Sd_Fat
“
d:\Arduino\libraries\SdFat_-_Adafruit_Fork\src/FatLib/ArduinoFiles.h:122:7: error: redefinition of ‘class fs::File’
122 | class File : public FatFile, public Stream {
| ^~~~
“
after that, quite some more kind alike ereeors follow

What did I miss in te setup?

 

Thanks for help

5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
 
That’s weird. We don’t use that library in the codes.
Are you programming the ESP32 with Arduino IDE or VS Code?
If you’re using Arduino IDE, what’s your boards’ version? Go to Tools > Boards > Boards Manager, search for ESP32 or ESP8266, and check your board’s version. Then, please tell me which version you’re using.
 
Regards,
Sara

0 Vote Up Vote Down
Herman Van twillert answered 3 years ago

Hi Sara
thanks for your reply
as I did not manage on my windows 10 laptop to go through the VS code, problem free I reverted to my Arduino IDE version 2.0.0-rc7 (Freshly updated from my usual Rc6.
The Database I created is at  https://ttac-iot-app-default-rtdb.europe-west1.firebasedatabase.app/
Within the code are the includes

#include <Firebase_ESP_Client.h>
#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BME280.h>

 
 
Withe regards   Herman

The 8266 board I am very familiar with, tunning Wifi webservers quite som time,   The boards are NodeMCU 1.0 (ESP-12E Module)

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
I’m sorry, but I didn’t understand.
Are you still having the same issue?
What’s the version of the boards you have installed (not the Arduino IDE)?
Regards,
Sara

0 Vote Up Vote Down
Herman Van twillert answered 3 years ago

as indicated   ESP8266  type     version NodeMCU 1.0 (ESP-12E Module)
 

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Go to Tools > Boards > Boards Manager, search for ESP32 or ESP8266, and check your board’s version.  That’s what I’m talking about.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.