ESP32-P4 Example Build Error

besterm
Posts: 18
Joined: Tue Nov 12, 2019 1:44 pm

ESP32-P4 Example Build Error

Postby besterm » Mon Mar 24, 2025 7:42 pm

I am trying to build the ESP32-P4 "esp_brookesia_phone" example, but I am getting errors. I'm using IDF V5.4 and followed the readme instructions. Any ideas would be appreciated. Here's the log file output. The error is near the bottom.

info: INFO: Symbol BSP_I2S_NUM defined in multiple locations (see below). Please check if this is a correct behavior or a random name match:
C:\esp-dev-kits\examples\esp32-p4-function-ev-board\examples\common_components\bsp_extra\Kconfig:2
C:\esp-dev-kits\examples\esp32-p4-function-ev-board\examples\esp_brookesia_phone\managed_components\espressif__esp32_p4_function_ev_board\Kconfig:30
info: INFO: Symbol ESP_SDIO_PIN_D1 defined in multiple locations (see below). Please check if this is a correct behavior or a random name match:
C:\esp-dev-kits\examples\esp32-p4-function-ev-board\examples\esp_brookesia_phone\managed_components\espressif__esp_hosted\Kconfig:487
C:\esp-dev-kits\examples\esp32-p4-function-ev-board\examples\esp_brookesia_phone\managed_components\espressif__esp_hosted\Kconfig:461
ninja: error: mkdir(esp-idf/esp_wifi/CMakeFiles/__idf_esp_wifi.dir/C_/esp-dev-kits/examples/esp32-p4-function-ev-board/examples/esp_brookesia_phone/managed_components/espressif__esp_wifi_remote): No such file or directory

ahsrabrifat
Posts: 201
Joined: Sat Jan 18, 2025 2:31 pm

Re: ESP32-P4 Example Build Error

Postby ahsrabrifat » Tue Mar 25, 2025 1:20 pm

Did you install all the libraries meticulously? The error 'No such file or directory' usually occurs when there is a library missing.

besterm
Posts: 18
Joined: Tue Nov 12, 2019 1:44 pm

Re: ESP32-P4 Example Build Error

Postby besterm » Tue Mar 25, 2025 2:50 pm

Instead of trying to build the demo project using my Windows 10 PC, I decided to try it on my Mac Mini M1. I was able to build the project without any issues using the exact same steps. I still need to figure out why Windows 10 won't build it for me, as this is my work computer and the Mac is my home computer.

chegewara
Posts: 2505
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32-P4 Example Build Error

Postby chegewara » Tue Mar 25, 2025 4:59 pm

To me it looks like issue with internet connection.
When you build first time or do fullclean some components are downloaded from github in this case.

Who is online

Users browsing this forum: ChatGPT-User, meta-externalagent, PerplexityBot, PhiradarXu, Qwantbot and 7 guests