Building the code

The linked articles below explain how to setup your build environment on Linux/Ubuntu, MacOS or Windows and then build ArduPilot with either waf or make.

The instructions below assume that you have already installed git, forked and cloned the ArduPilot repo.

Building / Compiling

ArduPilot currently supports two build systems, waf and make with waf being the recommended option especially for Linux/Ubuntu and MacOS users. In most cases the build dependencies described for waf and make are the same, the only part of the instructions that changes is the build commmand.

Linux / MacOSX users:

  • Linux and MacOSX users should build with waf as described in

Windows users:

Board specific instructions: