![]() I also get error: src\main.cpp:3:27: fatal error: FirebaseESP32.h: No such file or directory ![]() pio\libdeps\esp32doit-devkit-v1\Firebase Arduino Client Library for ESP8266 and ESP32\src\FirebaseFS.h:27:20: fatal error: SPIFFS.h: No such file or directory Lib_deps = mobizt/Firebase Arduino Client Library for ESP8266 and I try to build project (without any changes to main.cpp) I get error. pio/libdeps folder platform = espressif32 I can see it was added to platform.ini and also I can see it in. I installed Firebase Arduino Client Library for ESP8266 and ESP32 library using library manager. This makes the linker happy and allows your program to build.I’m new to plaftormio and I’m facing similar issue. the program file that contains your start and loop functions). The magic thing to know is that if any of your libraries use Wire.h or SPI.h you must Include them in the main source file (i.e. It’s one of those horrible situations where you have to know the “magic” trick to make it work. ![]() I’ve had this before, it is very frustrating. The compiler kept complaining about the Wire.h and SPI.h libraries not being available. I’d added the AdaFruit libraries and at that point my program broke. I’ve been creating a “Connected Little Boxes” driver for the BME280 environmental sensor (a personal favourite of mine). I hardly ever use them personally, I rely on people much cleverer than me to create libraries that I can use to talk to the hardware I want to use. They’re used by programs to communicate with devices over the I2C and SPI busses. The Wire.h and SPI.h Arduino libraries are kind of important.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |