Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error due to Time Library #41

Open
Robino opened this issue Apr 9, 2021 · 3 comments
Open

Compilation error due to Time Library #41

Robino opened this issue Apr 9, 2021 · 3 comments

Comments

@Robino
Copy link

Robino commented Apr 9, 2021

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:

  • ESP32-Chimera@1.1.4
  • M5Stack SD Updater@1.0.4
  • NimbleBLE@1.2.0
  • SqlLiteESP32@2.3
  • paulstroffegen/Time@1.6
    It seems the version Time@1.6 has an error or perhaps the version I'm using ? thanks by advance of your help
@tobozo
Copy link
Owner

tobozo commented Apr 13, 2021

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

@Robino
Copy link
Author

Robino commented Apr 23, 2021

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
Copy link
Owner

tobozo commented Jun 21, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants