WARNING
There’s a bug in CMake 3.20.0 which means you need to delete your entire build directory before you can do a
subsequent build. This should be fixed in CMake 3.20.1 (which hadn’t yet been released at the time of writing, so you
can use CMake 3.19.x in the meantime).
During the installation add CMake to the system PATH for all users when prompted by the installer.
9.2.1.3. Installing Build Tools for Visual Studio 2019
Figure 16. Installing
the Build Tools for
Visual Studio 2019.
When prompted by the Build Tools for Visual Studio installer you need to install the C++ build tools only.
NOTE
You must install the full "Windows 10 SDK" package as the SDK will need to build the pioasm and elf2uf2 tools locally.
Removing it from the list of installed items will mean that you will be unable to build Raspberry Pi Pico binaries.
9.2.1.4. Installing Python 3.9
During the installation, ensure that it’s installed 'for all users' and add Python 3.9 to the system
PATH when prompted by
the installer. You should additionally disable the
MAX_PATH length limit when prompted at the end of the Python
installation.
Getting started with Raspberry Pi Pico
9.2. Building on MS Windows 40