Skip to content

Development Windows setup

Michael Lyle edited this page Oct 2, 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 - http://git-scm.com/downloads

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

Win32 OpenSSL - http://slproweb.com/products/Win32OpenSSL.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/taulabs/taulabs

Type this command to install a bash_profile suitable for developing the project: cp taulabs/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 taulabs source directory with cd taulabs and type make arm_sdk_install to install the ARM SDK tools. Next run openssl_install to install openssl and associated utilities.

After this you can type make all and compile everything!

Clone this wiki locally