Cmake, windows. "missing and no known rule to make it"

frankdownunder
Posts: 1
Joined: Mon Jan 04, 2016 11:37 pm

Cmake, windows. "missing and no known rule to make it"

Postby frankdownunder » Sat Dec 01, 2018 8:59 pm

When executing idf.py build, I get
Running ninja in directory C:\opt\esp\esp-idf\examples\wifi\power_save\build
Executing "ninja all"...
ninja: error: 'json/CMakeFiles/json.dir/cJSON/cJSON.c.obj', needed by 'json/libjson.a', missing and no known rule to make it
ninja failed with exit code 1


I suspected the relative path name, and can confirm that manually editing the ninja file to have an absolute path name, it builds that rule OK.

What am I doing wrong?

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: Cmake, windows. "missing and no known rule to make it"

Postby ESP_Angus » Mon Dec 03, 2018 12:58 am

Hi Frank,

That's unusual. Could you please post the full output from "idf.py reconfigure build"?

Thanks,

Angus

Who is online

Users browsing this forum: No registered users and 119 guests