Compilation error
demoking23 opened this issue · 1 comments
demoking23 commented
and iam new to firebase iot with mcu'S
error msg is
Arduino: 1.8.19 (Windows 10), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 16KB cache + 48KB IRAM and 2nd Heap (shared), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
In file included from C:\Users\ERSHITHVARAN\Documents\Arduino\libraries\SD\src/SD.h:25,
from C:\Users\ERSHITHVARAN\Documents\Arduino\libraries\Firebase_Arduino_Client_Library_for_ESP8266_and_ESP32\src/FirebaseFS.h:70,
from C:\Users\ERSHITHVARAN\Documents\Arduino\libraries\Firebase_Arduino_Client_Library_for_ESP8266_and_ESP32\src/Firebase.h:39,
from C:\Users\ERSHITHVARAN\Documents\Arduino\libraries\Firebase_Arduino_Client_Library_for_ESP8266_and_ESP32\src/Firebase_ESP_Client.h:34,
from C:\Users\ERSHITHVARAN\Documents\Arduino\libraries\Firebase_Arduino_Client_Library_for_ESP8266_and_ESP32\examples\RTDB\Basic\Basic.ino:20:
C:\Users\ERSHITHVARAN\Documents\Arduino\libraries\SDFS\src/SDFS.h: In member function 'virtual int sdfs::SDFSFileImpl::availableForWrite()':
C:\Users\ERSHITHVARAN\Documents\Arduino\libraries\SDFS\src/SDFS.h:279:31: error: 'using element_type = class File32' {aka 'class File32'} has no member named 'availableSpaceForWrite'; did you mean 'availableForWrite'?
279 | return _opened ? _fd->availableSpaceForWrite() : 0;
| ^~~~~~~~~~~~~~~~~~~~~~
| availableForWrite
Multiple libraries were found for "SD.h"
Used: C:\Users\ERSHITHVARAN\Documents\Arduino\libraries\SD
Not used: C:\Program Files (x86)\Arduino\libraries\SD
Not used: C:\Users\ERSHITHVARAN\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\SD
Multiple libraries were found for "SDFS.h"
Used: C:\Users\ERSHITHVARAN\Documents\Arduino\libraries\SDFS
Not used: C:\Users\ERSHITHVARAN\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\SDFS
Multiple libraries were found for "SPI.h"
Used: C:\Users\ERSHITHVARAN\Documents\Arduino\libraries\SPI
Not used: C:\Users\ERSHITHVARAN\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\SPI
Multiple libraries were found for "SdFat.h"
Used: C:\Users\ERSHITHVARAN\Documents\Arduino\libraries\SdFat-master
Not used: C:\Users\ERSHITHVARAN\Documents\Arduino\libraries\SdFat_-_Adafruit_Fork
Not used: C:\Users\ERSHITHVARAN\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266SdFat
Multiple libraries were found for "ESP8266WiFi.h"
Used: C:\Users\ERSHITHVARAN\Documents\Arduino\libraries\ESP8266WiFi
Not used: C:\Users\ERSHITHVARAN\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi
exit status 1
Error compiling for board NodeMCU 0.9 (ESP-12 Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
``
mobizt commented
It's not library issue.
This is compilation error.
You must remove this SDFS library from C:\Users\ERSHITHVARAN\Documents\Arduino\libraries\SDFS