dawsonjon / PicoRX

Build a SDR SW/MW/LW Receiver with a Raspberry Pi Pico
MIT License
214 stars 30 forks source link

Build on MacOS fails #12

Open bmentink opened 2 weeks ago

bmentink commented 2 weeks ago

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 commented 2 weeks ago

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.