Cmake Error.

DutchOrange
Posts: 74
Joined: Fri Dec 04, 2020 4:23 pm

Cmake Error.

Postby DutchOrange » Tue Dec 08, 2020 10:01 am

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 ?

hamishcunningham
Posts: 11
Joined: Mon Jun 05, 2017 7:50 pm

Re: Cmake Error.

Postby hamishcunningham » 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?

DutchOrange
Posts: 74
Joined: Fri Dec 04, 2020 4:23 pm

Re: Cmake Error.

Postby DutchOrange » Wed Dec 09, 2020 5:48 am

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

Who is online

Users browsing this forum: No registered users and 80 guests