tobozo / ESP32-BLECollector

ᛡᛒ BLE Scanner + Data persistence on SD Card for M5Stack, M5Core2, Odroid-Go, ESP32-Wrover-Kit and other models
https://youtu.be/G07loGS04Vg
MIT License
288 stars 31 forks source link

Compilation error due to Time Library #41

Open Robino opened 3 years ago

Robino commented 3 years ago

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:

tobozo commented 3 years ago

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:

Robino commented 3 years ago

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 ! :-)

tobozo commented 3 years ago

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.