Building DCP-o-matic for Windows

DCP-o-matic for Windows is built using MXE and Docker on Linux. First, you need to prepare a Docker image using the following Dockerfile:

FROM ubuntu:16.04

RUN apt-get update
RUN apt-get -y install \
autoconf automake autopoint bash bison bzip2 flex gettext \
git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev \
libtool-bin libltdl-dev libssl-dev libxml-parser-perl make \
openssl p7zip-full patch perl pkg-config python ruby scons \
sed unzip wget xz-utils openssh-server cmake nsis yasm curl lzip \

RUN cd /opt && git clone git:// && cd mxe && git checkout carl-1 && make -j8
You may want to add lines like
RUN useradd -ms /bin/bash -u 1000 jim
to make users inside the Docker image. Once that is built, you should be able to use it to build DCP-o-matic using a python script called cdist. To install that, do:

git clone git://

then copy the cdist script somewhere onto your path (e.g. /usr/local/bin).

cdist needs a file ~/.config/cdist which should contain something like:

git_prefix git://

Once you have done this,

cdist -p dcpomatic -t windows-64 package

should build a Windows installer of DCP-o-matic for 64-bit.