Closed abhijit-031991 closed 4 years ago
The library was written on PlatformIO and has been tested for Arduino and PlatformIO environment.
You need to update your PlatformIO by run this command in the console.
pio update
If you still get the problem, please uninstall and reinstall PlatformIO.
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
IDE and its version:
ESP8266 Arduino Core SDK version
Additional context Add any other context about the problem here.
Hello,
the library doesn't seem to be compiling on platformio. I have copied the error msg below. This error is occuring even on the example files. Please take a look.
**In file included from C:/Users/LENOVO/.platformio/lib/Firebase ESP32 Client_ID6217/src/FirebaseESP32.h:49:0, from src\main.cpp:18: C:/Users/LENOVO/.platformio/lib/Firebase ESP32 Client_ID6217/src/FirebaseESP32HTTPClient.h:48:1: error: expected class-name before '{' token { ^ C:/Users/LENOVO/.platformio/lib/Firebase ESP32 Client_ID6217/src/FirebaseESP32HTTPClient.h:106:3: error: 'TransportTraitsPtr' does not name a type TransportTraitsPtr transportTraits; ^ C:/Users/LENOVO/.platformio/lib/Firebase ESP32 Client_ID6217/src/FirebaseESP32HTTPClient.h:96:25: error: 'HTTPCLIENT_DEFAULT_TCP_TIMEOUT' was not declared in this scope uint16_t tcpTimeout = HTTPCLIENT_DEFAULT_TCP_TIMEOUT; ^ *** [.pio\build\esp32dev\src\main.cpp.o] Error 1 ======================================================== [FAILED] Took 11.60 seconds ======================================================== The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it.**
Please take a look. Please let me if my copy of vsc/platformio needs some changes.