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)

  1. Install WSL as described here

  2. Setup VSCode as described here (optional)

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.

  1. Install Cygwin as described here

  2. Setup Eclipse as described here (optional)