-
Notifications
You must be signed in to change notification settings - Fork 14
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
Not always working out-of-the-box on Windows #100
Comments
Do you have any log output showing the incorrect paths? This seems like a VS Code issue, as the The extension works fine on my Windows laptop, which doesn't have the |
Sorry no logs, updated the description to mention |
This extension should not use I can't reproduce this myself with
|
Looks like they both give the correct path to |
How to set the board to Pico W manually? When I use the extension UI panel it looks like it is tripped by that path issue too, gives an error message and I still can't find |
You can just manually change the |
Yup that does it, directly in cmake: set(PICO_BOARD "pico_w") |
Now I have tons of C++ linker errors and no idea how to fix that. |
Really weird, in fact my system does not have a Maybe try to repro with those environment variables :
|
That was using GCC v13.2.1. |
I'm afraid I'm unable to override those variables so cannot reproduce this, but given the linker errors you're getting too it sounds like your system is broken in some way - could you post the error messages and logs you are getting, and also post the output from the developer console (Help -> Toggle Developer Tools)? |
Are they matching |
Yeah I realised that too as I was doing it. Not sure exactly which of my changes did the trick in the end. I just put |
Only with the extension's newer toolchain. When using the toolchain from the now retired Windows SDK installer it works. I ought to try installing the older GCC toolchain through the extension and see if that works. I'm still targeting SDK v1.5.1 could it be it does not work with GCC v13.2.1? |
Similar C++ linker errors when trying to build https://github.com/pimoroni/pimoroni-pico/tree/main/examples/pico_display_2: |
will pico-sdk ever work on windows 7 ? during compile cmake.. reports that it requires picotool to be a minimum version 2.0.0 , but the picotool that was downloaded is version ="" . cmake automatic download cuts of at 22% . I finally gave up rpi and deleted everything. vscode will not install pico-sdk saying it require higher version of vscode. Only thing working is thonny and mu . tried using wifi. But it gets disconnected randomly , making it unusable for any serious projects. git 64 does work, had to install git 32. But gets stuck at picotool. does any one use this windows 7 ? |
This is completely unrelated to this issue - see #76 for Windows 7 details/discussion |
Closing this now, as the C++ linker errors are fixed, and the userHome issue seems to be a VS Code bug |
It looks like it install the tools and SDK in
USERPROFILE
but then tries to run them fromHOME
environment variables. So on systems where they differ it just won't work without manually adjusting the paths.To fix it I had to edit
.vscode/setting.json
and.vscode/cmake-kits.json
, replacing someuserHome
andenv:HOME
withenv:USERPROFILE
.The text was updated successfully, but these errors were encountered: