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 waf.

Note

it is possible to use the Custom code build server to generate code with selectable feature sets without creating a code development environment, but code change proposals will require it.

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

Setting up the Build Environment

Building / Compiling

Linux / MacOSX users:

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

Note

Do not use sudo unless specified in the instructions.

Windows users:

Board specific instructions:

Mission Planner