Beginner trouble - Not able to build.

mave25
Posts: 4
Joined: Thu Jun 27, 2024 9:21 am

Beginner trouble - Not able to build.

Postby mave25 » Thu Jun 27, 2024 9:30 am

Hi, I just recently(Yesterday) moved over to ESP IDF from programming on Arduino IDE. I was able to follow the getting started guide available which almost had everything that I need to know. I have been trying to run the basic examples through the ESP-IDF CMD but I'm not able to build any of the codes using "idf.py build" command. Whenever I do so, I'm always running into issues. I tried to reinstall the ESP-IDF a few times but that didn't change anything. I have attached my error screenshots below (
espidf.png
espidf.png (85.11 KiB) Viewed 545 times
).
Thank you.

User avatar
ESP_Roland
Posts: 261
Joined: Tue Oct 09, 2018 10:28 am

Re: Beginner trouble - Not able to build.

Postby ESP_Roland » Thu Jun 27, 2024 9:58 am

You should be running "idf.py build" from the project's directory "hello_world" instead of the "main" subdirectory.

mave25
Posts: 4
Joined: Thu Jun 27, 2024 9:21 am

Re: Beginner trouble - Not able to build.

Postby mave25 » Thu Jun 27, 2024 12:03 pm

ESP_Roland wrote:
Thu Jun 27, 2024 9:58 am
You should be running "idf.py build" from the project's directory "hello_world" instead of the "main" subdirectory.
My bad!! :(
Thank you!

Who is online

Users browsing this forum: No registered users and 96 guests