Page 1 of 1

Cmake Error.

Posted: Tue Dec 08, 2020 10:01 am
by DutchOrange
So I tried to build the Hello World Project in VS-Code (Latest Version) with ESP-IDF 4.1.
I get this error,:

Code: Select all

CMake Error: The source directory "E:/ESPRESSIF/WorkSpace/hello_world" does not 
appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
The terminal process "C:\windows\System32\cmd.exe --login /d /c cmake -G Ninja .." terminated with exit code: 1.
Any Ideas ?

Re: Cmake Error.

Posted: Tue Dec 08, 2020 12:00 pm
by hamishcunningham
Presumably the file does exist...?

I'm on IDF 4.3; the hello_world example contains these files:

CMakeLists.txt Makefile README.md example_test.py main

Do you see all those in the ESP IDF explorer within VSCode?

Re: Cmake Error.

Posted: Wed Dec 09, 2020 5:48 am
by DutchOrange
hamishcunningham wrote:
Tue Dec 08, 2020 12:00 pm
Presumably the file does exist...?

I'm on IDF 4.3; the hello_world example contains these files:

CMakeLists.txt Makefile README.md example_test.py main

Do you see all those in the ESP IDF explorer within VSCode?
Yes I do see all those things. Except for the ReadMe.md and my .py is lodable_eld_example_test,py

Thanks for the reply