Error in running programs in ESP-IDF

Madhura A V
Posts: 1
Joined: Sun May 07, 2023 5:09 pm

Error in running programs in ESP-IDF

Postby Madhura A V » Sun May 07, 2023 5:50 pm

I was setting up ESP-IDF to use it with ESP32-S-series. Where I am encountering the problem in building the projects.
The build is getting failed. It says there is an error in the default CMake files. Tried solving it in available ways but no luck.

It says,
CMake Error at C:/Espressif/frameworks/esp-idf-v5.0/tools/cmake/project.cmake:356 (set):
Maximum recursion depth of 100 exceeded
-- Configuring incomplete, errors occurred!

cmake --build . -- -v
ninja: error: loading 'build.ninja': The system cannot find the file specified.

Hoping to find some suggestions regarding the error.

MicroController
Posts: 1708
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: Error in running programs in ESP-IDF

Postby MicroController » Mon May 08, 2023 3:36 pm

It says there is an error in the default CMake files
That's probably not what it says. It detects the problem while running the IDF's project.cmake, but the issue probably originates in your application's setup/cmake file. Care to share it with us?

Who is online

Users browsing this forum: MichaelS and 120 guests