Skip to content

Development Windows setup

DTFUHF edited this page Dec 6, 2015 · 40 revisions

This page describes the procedures for setting up a Windows machine to compile dRonin 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.) (Try the 32-bit version if the 64-bit version is causing problems.)

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

Qt 5.5.0 - http://download.qt.io/archive/qt/5.5/5.5.0/qt-opensource-windows-x86-mingw492-5.5.0.exe (use version with MinGW included, and make sure you check it on installation)

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 dRonin 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 in the right-click context menu.

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!

You will need to add "C:\Qt\Qt5.5.0\5.5\mingw492_32\bin" (for Qt version 5.5.0) to your system PATH to run regular GCS builds from the build directory. Skipping this step will lead to errors about missing DLLs such as Qt5Cored.dll.

Clone this wiki locally