espressif / esp-rainmaker

ESP RainMaker Agent for firmware development
Apache License 2.0
431 stars 145 forks source link

[esp rainmaker component] Build error with unkown type 'time_t' (MEGH-5274) #300

Closed lijunru-hub closed 3 months ago

lijunru-hub commented 4 months ago

Answers checklist.

IDF / ESP32-Arduino version.

IDF release/v5.2

Operating System used.

Linux

How did you build your project?

Command line with idf.py

Development Kit.

ESP32S3

What is the expected behavior?

Build Success.

What is the actual behavior?

企业微信截图_17073613151068

Steps to reproduce.

Pull esp_rainmaker:v1.1.0, then build.

You should add #include in the header file where you are using time_t.

Build Logs.

No response

More Information.

No response

lijunru-hub commented 3 months ago

If this issue has been resolved, please let me know.

shahpiyushv commented 3 months ago

The issue is fixed in the SDK itself in https://github.com/espressif/esp-rainmaker/commit/7d4c1e36f9110e04c30c21a708762ed91eea99ac, but the component had not been updated. We will do it with some other change soon enough.

lijunru-hub commented 3 months ago

Thank for this.