Hello @ScruffR,
Perfect. Your help solved this issue. It compiles just fine once the target device is selected. I recently added another device and had not figured out how to target one versus another.
With no device selected (i.e. no yellow star on the devices pane) the compiler defaults to spark, just as you pointed out.
By clicking the star on the left hand side of a device, it selects that device for compilation and targeting. That selection includes the target-specific libraries during compiling and linking. I didn’t know platform-0
means spark and platform-31
means Raspberry Pi. Good to know.
Image illustrating the selection:
Thanks for the careful consideration and discovering this problem.
Marc