I have an ongoing Pi Pico -W project. Built using the C SDK It has built successfully before but I haven't touched the files since March.
Yesterday I needed to modify the code.
It wouldn't build. Complained about a missing header file at a location that contained that header file.
I emptied the build directory and ran Cmake.
That completed, but make failed again with a different error.
I then ran cmake again and this time the file built successfully.
I mean as with most things cmake one expects irrational behaviour but seriously?