Page 2 of 2

Re: [solved] Cmake can't find compiler after running idf.py -C components create-component (IDF-2442)

Posted: Wed Jul 17, 2024 1:51 pm
by voidzero
Alright, I think I found my answer: the trick is to do this in a project directory.

I have done the following in the esp-idf command window:

Code: Select all

cd %userprofile%\esp
xcopy /e /i %IDF_PATH%\examples\get-started\hello_world hello_world
cd hello_world
idf.py set-target esp32c6
This works.