These setup instructions describe how to setup Cygwin on so that waf (the build system) can run natively on windows and build for all supported boards.
When installing packages for the first time, the setup program does not install every package. Only the minimal base packages from the Cygwin distribution are installed by default, which takes up about 100 MB. Clicking on categories and packages in the setup program package installation screen allows you to select what is installed or updated.
Note
There is a pre-built script at /ardupilot/Tools/environment_install/install-prereqs-windows.ps1 that will automatically perform all of the below steps.
Or, for a stepped install:
open a web browser to www.cygwin.com/install.html and run setup-x86_64.exe'
accept the all the prompts (including default file locations) untilyou reach the Select Packages dialog.
Select the required packages from the thousands of available packages.Refer to the list below and enter each package 'Name' into the Search field as shown below.When you have found the package click on the Skip button to change it to a version number and then move onto the next package:
Package Name | Category / Name / Description |
---|---|
autoconf | Devel autoconf: Wrapper scripts for autoconf commands |
automake | Devel automake: Wrapper scripts for automake and aclocal |
ccache | Devel ccache: A C compiler cache for improving recompilation Temple run 2 mod apk apkpure. If any apk download infringes your copyright,please contact us. Now get more of the exhilarating running, jumping, turning and sliding you love in Temple Run 2!Navigate perilous cliffs, zip lines, mines and forests as you try to escape with the cursed idol. Temple Run 2 is the property and trademark from the developer Imangi Studios. With over a zillion downloads, Temple Run redefined mobile gaming. |
gcc-g++ | Devel gcc-g++ GNU Compiler Collection (C++) |
git | Devel git: Distributed version control system |
libtool | Devel libtool: Generic library support script |
make | Devel make: The GNU version of the 'make' utility |
gawk | Interpreters gawk: GNU awk, a pattern scanning and processing language |
libexpat-devel | Libs libexpat-devel: Expat XML parser library (development files) |
libxml2-devel | Libs libxml2-devel: Gnome XML library (development) |
libxslt-devel | Libs libxslt-devel: XML template library (development files) |
python36 | Python python36: Python2 language interpreter |
python36-devel | Python python36-devel: Python3 language interpreter |
python36-future | Python python36-future: Clean single-source support for Python 3 and 2 |
python36-libxml2 | Python python36-lxml: Gnome XML Library (Python bindings) |
python36-pip | Python python36-pip: Python package installation tool |
procps-ng | System procps-ng: System and process monitoring utilities (required for pkill) |
gdb | Devel gdb: The GNU Debugger |
ddd | Devel ddd: DDD, the data display debugger |
zip | Archive zip: Info-ZIP compression utility |
When all the packages are selected, click through the rest of theprompts and accept all other default options (includingthe additional dependencies).
Terminator salvation soundtrack songs. Select Finish to start downloading and installing the packages.
Warning
Sometimes the installation can stall because of anti-virus protection software is running.If this occurs, shutdown all other programs on your PC including the anti-virus protection and try again.
Note
This step is only required if you intend to compile for ARM-based boards.
The MAVProxy GCS is required when running SITL. If you're not planning to run SITL, you can skip this step.
The ArduPilot source files then need to be downloaded to your local Cygwin filesystem by cloning the git repository and updating the submodules. Enter the following commands into the Cygwin terminal to download the source files:
You should now be able to start the 'Cygwin64 Terminal' application from your Windows Start menu and build with waf as described in BUILD.md.
Warning
The build may fail if the file path to some files is too long. If the build fails, please try :ref:`cloning <git-clone>` ArduPilot into a directory very high in the directory structure (i.e. ~/ardupilot).
If during build process you get error of missing packet xyz, re-check that you have installed all cygwin packages listed above