espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.34k stars 7.2k forks source link

Build Error - Wifi 6 Target Wake Time Example (IDFGH-13500) #14397

Open lalves-isr opened 3 weeks ago

lalves-isr commented 3 weeks ago

Answers checklist.

IDF version.

v5.3

Operating System used.

Windows

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

CMD

What is the expected behavior?

Build Success

What is the actual behavior?

Build Error

esp-idf-release-v5.3/examples/wifi/itwt/main/itwt_main.c:122:9: error: unknown type name 'wifi_itwt_setup_config_t'; did you mean 'wifi_twt_setup_config_t'?

Steps to reproduce.

idf.py set-target esp32c6 idf.py build

Build or installation Logs.

No response

More Information.

No response

QingzhaoYin commented 3 weeks ago

@lalves-isr Hi,Which version (commit ID) of the IDF you are using? I didn't encounter this issue in release/v5.3 (commit ID: 0526c35e).

lalves-isr commented 3 weeks ago

I used this link for the offline transfer of IDF_v5.3. https://dl.espressif.com/dl/esp-idf/

lalves-isr commented 3 weeks ago

In fact, it is strange, because I can find the missing definition in esp_wifi component. esp-idf-release-v5.3\components\esp_wifi\include\esp_wifi_he_types.h Maybe some missing path definition include to find it!?