编译esp_ble_mesh中onoff_client example出错

ESP_Gargamel
Posts: 786
Joined: Wed Nov 14, 2018 8:45 am

Re: 编译esp_ble_mesh中onoff_client example出错

Postby ESP_Gargamel » Fri May 21, 2021 11:53 am

3. path to the project is longer than 90 characters.
This seems to be the reason. Move the project to C:\, no error happened.
This seems to be a bug in an older version of CCache in ESP-IDF.
Tried a newer version CCache, v4.3, no error happened. Seems it's a bug of CCache. We need to upgrade the version of CCache if needed.

ESP_georgik
Posts: 21
Joined: Fri Nov 06, 2020 8:23 am
Location: Brno
Contact:

Re: 编译esp_ble_mesh中onoff_client example出错

Postby ESP_georgik » Fri Jun 04, 2021 10:38 am

Update: We're working on update of CMake and CCache to resolve the limitation with too long installation paths on Windows causing problem with libsodium
- Juraj Michálek
Senior Embedded Software Engineer at Espressif Systems

ESP_georgik
Posts: 21
Joined: Fri Nov 06, 2020 8:23 am
Location: Brno
Contact:

Re: 编译esp_ble_mesh中onoff_client example出错

Postby ESP_georgik » Mon Jun 21, 2021 7:00 am

Update: Our latest tests with latest version of CMake and Ccache indicates that builds on Windows still have the problem with long paths.

Based on the research we consider this as 3rd party limitation on Windows. Please use shorter paths on Windows.
Windows Installer 2.9 was updated and it has check for too long paths to ESP-IDF and ESP-IDF Tools: https://github.com/espressif/idf-installer/pull/16
- Juraj Michálek
Senior Embedded Software Engineer at Espressif Systems

Who is online

Users browsing this forum: No registered users and 28 guests