Skip to content

Development Windows setup

DTFUHF edited this page Dec 5, 2015 · 40 revisions

This page describes the procedures for setting up a Windows machine to compile TauLabs firmware and GCS software.

Download Required Programs

Git 2.6.3 - http://git-scm.com/downloads (older versions of git_bash have problems with the Makefiles so be sure you're on a recent build. Version 2.6.3 has been confirmed working.)

Python 2.7.4 - http://www.python.org/download/releases/2.7.4/

Qt 5.5.x - https://www.qt.io/download-open-source/ (as of 13 Jul 2015 on next) (use version with MinGW included, and make sure you check it on installation)

DD - http://www.chrysocome.net/downloads/dd-0.6beta3.zip

JDK (only required for compiling Android GCS)- http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

Install Required Programs

The following has been validated as providing a working build environment on Windows Server 2008 R2 when using the default paths that the installers provide.

  1. Install git. You will use this to clone the TauLabs repository to your machine. It also provides a bash shell and other Unix-like tools.
  2. Install Python 2.7.4. Python is used when building firmware.
  3. Install Qt SDK. Qt provides much of the GUI framework behind GCS. Also, the compiler and some necessary Unix command line tools are provided.
  4. Install JDK if you want to compile AndroidGCS

Setup to build

Start a shell using the "Git bash" program shortcut.

Clone the repository to your computer by typing git clone https://github.com/d-ronin/dronin

Type this command to install a bash_profile suitable for developing the project: cp dronin/make/winx86/bash_profile ~/.bash_profile. Next, ensure that the bash_profile is executable by typing chmod 755 ~/.bash_profile . You may have to edit bash_profile if you have changed any installation paths from the default. Then exit from the terminal and start a new "Git bash" instance.

Next, change into the dRonin source directory with cd dronin and type make arm_sdk_install to install the ARM SDK tools. Next run make openssl_install to install openssl and associated utilities.

After this you can type make all and compile everything!

Clone this wiki locally