Cmake, windows. "missing and no known rule to make it"
Posted: 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?
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?