Since the previous topic was closed by accident and not able to reopen again, I will continue here.
Sorry I didn't get you well. You are using nRF5 SDK just as a reference and trying with NCS 1.9.1 samples? Is that right? Your installed packages look good but from the screenshot you shared it seems you are trying with ble_app_xboat_pca10056s140 which doesn't come with NCS. Will be good if you try one of the NCS samples and get back .
To be clear, I am using nRF SDK, and also nRF5 SDK examples. Those examples build fine, but a custom code based on a SDK example does not compile. The only thing changed was the PC, since it was building on my previous PC.
Regards, Egbert