• Can anyone explain....

    From The Natural Philosopher@tnp@invalid.invalid to comp.sys.raspberry-pi on Wed Oct 15 11:54:22 2025
    From Newsgroup: comp.sys.raspberry-pi

    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?
    --
    "It was a lot more fun being 20 in the 70's that it is being 70 in the 20's" Joew Walsh
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.sys.raspberry-pi on Wed Oct 15 23:03:45 2025
    From Newsgroup: comp.sys.raspberry-pi

    On Wed, 15 Oct 2025 11:54:22 +0100, The Natural Philosopher wrote:

    It wouldn't build. Complained about a missing header file at a location
    that contained that header file.

    It helps to copy and paste the actual error message sequence. Remember the saying “many eyes make all bugs shallow”.

    I emptied the build directory and ran Cmake.

    That completed, but make failed again with a different error.

    Which was ... ?

    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?

    Somehow I don’t think you ran it quite the same way each time ...
    --- Synchronet 3.21a-Linux NewsLink 1.2