Closed BlueDig closed 3 years ago
You need to configure the CMake extension as explained in the Getting started guide, section 8.2.4. You will need to set the CMake Generator to "NMake Makefiles".
I'm not sure why the "Visual Studio Code for Pico" shortcut did not work for you, given that you do have Visual Studio Code installed. I'll probably add a check there to stop and show an error message if it fails.
Thanks for the help- There is still something wrong with the paths, however: the path to nmake.exe is not set. I did not use the Microsoft build tool on this particular computer before, so the build tools were installed by your package, but the path was not set.
I really should've asked at the outset -- what version of Windows are you using - 7 or 10? 32 or 64 bit? I haven't tested extensively outside of Windows 10 x64, so there might be some issues when installing on other versions.
When you open the "Developer command prompt for Pico", do you see any error messages in the terminal window?
Win 10 x64 20H2. No error messages in Developer Command prompt, but "Visual Studio Code for Pico" doesn't work. After many problems with Cmake project configuration I finally managed to get the vscode working correctly with all the Pico stuff. Simple Blink compiles to 24 KiB binaries; disassembly shows dozens of unnecessary routines, never called code getting into this binary - but this is a different story.
Thanks for the update. I don't see any further action here apart from adding some more error checking and logging in the installer. Closing.
I am quite old to programming but quite new to vscode, so maybe I am missing something obvious not mentioned in the readme file. Two problems: