Setup the Build Environment on Windows¶
There are two options for building on Windows: Windows Subsystem for Linux (WSL) or Cygwin. New developers should use WSL as it offers faster compilation times, greater compatibility, and a larger support base from other developers.
Setup for building with waf using WSL (Windows 10 and 11 only)¶
Install WSL as described here
If Windows 10 follow these instructions, if Windows 11 follow these instructions.
(optional, if you wish to use VSCode editor) Setup VSCode as described here
Setup for building with waf using Cygwin¶
Note
Cygwin is not recommended for new developers. However, building using Cygwin is sometimes usefull if you need to compile SITL binaries for Windows. However, you can create Windows SITL executables without using Cygwin, following the instructions given here.