PicoRX icon indicating copy to clipboard operation
PicoRX copied to clipboard

Build on MacOS fails

Open bmentink opened this issue 1 year ago • 1 comments

HI, Build on linux is fine but on my M1 Mac, I get the following error on linking ..

Install the project...
-- Install configuration: "Release"
[  4%] Performing test step for 'picotoolBuild'
picotool v2.0.0 (Darwin, AppleClang-15.0.0.15000100, Release)
[  4%] Completed 'picotoolBuild'
[  4%] Built target picotoolBuild
[  4%] Building ASM object pico-sdk/src/rp2040/boot_stage2/CMakeFiles/bs2_default.dir/compile_time_choice.S.obj
[  5%] Linking ASM executable bs2_default.elf
arm-none-eabi-gcc: fatal error: cannot read spec file 'nosys.specs': No such file or directory
compilation terminated.
make[2]: *** [pico-sdk/src/rp2040/boot_stage2/bs2_default.elf] Error 1
make[1]: *** [pico-sdk/src/rp2040/boot_stage2/CMakeFiles/bs2_default.dir/all] Error 2
make: *** [all] Error 2

Any idea's .. thanks

bmentink avatar Aug 25 '24 23:08 bmentink

UPDATE: Building for all targets in a Visual Studio Code project environment, and building in the terminal, all targets build fine, so VSC must install some dependancy that was missing ... (See my other issue on building in VSC)

Can build pico target fine in VSC gui (extension), but not the other targets, this will need your support. Thanks.

bmentink avatar Aug 26 '24 01:08 bmentink