1 How to build from source?
\r
2 =========================
\r
4 Both development environment and GCS are supported on Windows, Linux and Mac OS X
\r
6 The first step is to Install all OS specific prerequisites.
\r
8 Install XCode and its relatated command line tools (follow Apple documentation).
\r
9 Install git, curl and p7zip. You can use brew `brew install git curl p7zip` or macport: `sudo port install git curl p7zip`
\r
12 sudo apt-get install git build-essentials curl gdb wget debhelper p7zip-full unzip flex bison libsdl1.2-dev libudev-dev libusb-1.0-0-dev libc6-i386 mesa-common-dev
\r
16 Install [msysGIT](https://msysgit.github.io/) under `C:\git`
\r
18 Clone LibrePilot Git repository.
\r
19 Open Git Bash and run
\r
21 cd /path/to/LibrePilot_root
\r
22 ./make/scripts/win_sdk_install.sh
\r
24 You can build using the `/path/to/LibrePilot_root/make/winx86/bin/make` wrapper to call `mingw32-make.exe` as:
\r
26 ./make/winx86/bin/make all_sdk_install
\r
27 or call `mingw32-make` directly
\r
29 mingw32-make all_sdk_install
\r
31 ##Setup the build environment and build
\r
32 The `all_sdk_install` target will automatically retrieve and install all needed tools (qt, arm gcc etc.) in a local folder `/path/to/LibrePilot_root/tools`
\r
35 make all_sdk_install
\r
38 The `package` target will build the complete installable package for the current platform.
\r
40 Run make with no arguments to show the complete list of supported targets.
\r