ESP32-BLECollector
ESP32-BLECollector copied to clipboard
Compilation error due to Time Library
Dear,
I have this error during the compilation process:
src/ESP32-BLECollector.ino:50: src/DateTime.h: In function 'void dumpTime(const char*, tm*)': src/DateTime.h:173:9: error: invalid use of incomplete type 'struct tm' info->tm_year + 1900,
I install all libraries:
- [email protected]
- M5Stack SD [email protected]
- [email protected]
- [email protected]
- paulstroffegen/[email protected] It seems the version [email protected] has an error or perhaps the version I'm using ? thanks by advance of your help
hey thanks for your feedback,
Library versions look fine although the latest chimera-core release is 1.1.3 (next release is 1.1.6) and there is no such release as 1.1.4 so my guess is you're using some version from platformio or borrowing their sources, or you checked out the repo when it had this temporary version number. It's not an issue and probably unrelated anyway.
In order to reproducte this issue I'll need more info:
- What ESP32 device is being flashed (odroid-go, m5stack, wrover-kit, etc)
- What esp32-arduino SDK version (latest is 1.0.6)
- What tools are used to compile the sketch (Arduino, VsCode, platformio, etc)
- What OS are they running on
- If using Arduino IDE, what is the selected choice in the boards menu
Thanks a lot for your response. To resolve my issue I remove the file Time.h from the library TimeLib. It seems it was a conflict. Now it works perfectly ! :-)
looks like this is now official
I can't check that until july, but this change may impact the RTC part of ESP32-BLECollector. Keeeping this issue open until this is confirmed.