I'm roughly following this tutorial but with cygwin instead:

I use cygwin for another project so I would rather not switch to another GNU tools package.

I have:

  • Installed cmake, gcc, make via cygwin
  • Installed git via Git for Windows
  • Installed rpi pico sdk
  • Configured and tested environment variables (looks ok to me)
  • Created the makefiles using cmake -G "Unix Makefiles" ..

When I cd into the blink directory and try to make, I eventually get this:

Scanning dependencies of target bs2_default
[  0%] Building ASM object pico-sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default.dir/compile_time_choice.S.obj
cc1.exe: fatal error: /cygdrive/c/VSARM/picosdk/src/rp2_common/boot_stage2/compile_time_choice.S: No such file or directory
compilation terminated.

What am I missing?

I've tried this with cmake 3.20.0 and 3.23.2. In between, I deleted the build folder and recreated it. The result was the same in both cases.

New contributor
afarley is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.


Your Answer

afarley is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.