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.
Setting up the Build Environment¶
Building / Compiling¶
ArduPilot currently supports two build systems, waf and make with waf being the recommended option because it allows building for all boards. 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 BUILD.md.
Windows users:
Windows users have 3 or 4 options for setting up the build environment. All of the below options will allow building of native (SITL) and Pixhawk-based boards.
- Setup the waf Build Environment on Windows using Cygwin
- Setup the waf Build Environment on Windows10 using WSL
- Setup Eclipse on Windows for building with waf
Board specific instructions:
Mission Planner¶
Links to current build pages¶
- Setup the Build Environment on Linux/Ubuntu
- Setup the Build Environment on Windows
- Setup the waf Build Environment on Windows10 using WSL
- Setup the waf Build Environment on Windows using Cygwin
- Setup Eclipse on Windows for building with waf
- Setup the Build Environment on MacOSX
- Building for NAVIO2 on RPi3
- Building for Erle-Brain 2
- Building for Erle-Brain
- Building for Bebop 2
- Building for Bebop on Linux
- Building for BeagleBone Black
- Building Mission Planner with Visual Studio
- ArduPilot Pre-Built Binaries