Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build on MacOS fails #12

Open
bmentink opened this issue Aug 25, 2024 · 1 comment
Open

Build on MacOS fails #12

bmentink opened this issue Aug 25, 2024 · 1 comment

Comments

@bmentink
Copy link

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant