Personal tools
The Open Lighting Project has moved!

We've launched our new site at This wiki will remain and be updated with more technical information.

Building OLA for Windows


Revision as of 08:24, 10 August 2014 by Lukase (talk | contribs)
Jump to: navigation, search

This describes how to get OLA compiled for windows, it's a work in progress so it's unlikely to work as is. This tutorial uses gcc as the compiler, other compilers have not been tested.

During Google Summer of Code 2014, this port will be worked on as one of the selected projects.

Install Mingw, msys & build tools

Together MinGW & msys provide a unix-style shell environment & compiler suite for windows. Read the instructions at the MinGW site for more info. MinGW now provides an installer to get most of the system up and running quickly. Download the installer and make sure you select "C++ Compiler". "MSYS Basic System" & "MinGW Developer Toolkit" when prompted.

Once the installer has completed, open the msys shell (under Programs > MinGW) and install some additional packages:

$ mingw-get.exe install msys-coreutils mingw32-base mingw32-pthreads-w32 msys-wget

Note that some of these might already have been installed.

Install Git

Git is used to checkout (and commit) the ola sources. See, be sure to select "checkout as is, commit unix style" during the install otherwise you'll get autoconf errors.

Add the following line to your .bashrc file so that git can be used within msys:

PATH="$PATH:/c/Program Files/Git/bin"
alias git=git.exe

Install pkg-config

Download pkg-config-lite from (the latest binary should work) and extract it to your MinGW directory.

You also need to add

 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

to your .bashrc file.

You might also want to edit your .profile file and add
[ -f ~/.bashrc ] && . ~/.bashrc

If you haven't configured your MSYS fstab yet, do that as well. See for instructions.

Install Dependencies


Python (optional)




  • Download and extract the latest protobuf tarball from
  • Configure, compile and install it using the MinGW MSYS shell
  • if you want to use the OLA Python api, install the protobuf Python bindings from the 'python' subdirectory



liblo (optional)

  • Download and extract the latest version of liblo from
  • Configure, compile and install it using the MinGW MSYS shell

Build OLA

  • Do a git checkout of OLA
 $ git.exe clone
  • Prepare autotools files
 $ autoreconf -i -f
  • Run ./configure
 $ ./configure --enable-python-libs --disable-e131 --disable-karate --disable-milinst --disable-renard --disable-spi --disable-stageprofi --disable-usbpro --disable-usbdmx --disable-uart
  • Build
 $ make
  • Optional: Run the tests
 $ make check
  • Install
 $ make install

Current State / TODO

See the GSOC project page.