0x79 - a blog

Work in progress.

Building dexed for Linux with Docker

Dexed is a FM Synth Plugin (https://github.com/asb2m10/dexed) offering a standalone version you can download from their git releases. Executing their pre-compiled binary on my Linux machine I got the following error:

~/Downloads/dexed-0.9.4.lnx % ./Dexed
[1]    29833 illegal hardware instruction (core dumped)  ./Dexed

Building Dexed from source solved the problem :)

This is a quick guide how to build it your self using docker.


FROM debian:latest

RUN apt-get update
RUN apt-get install -y git freeglut3-dev g++ libasound2-dev libcurl4-openssl-dev build-essential\
                     libfreetype6-dev libjack-jackd2-dev libx11-dev libxcomposite-dev \
                     libxcursor-dev libxinerama-dev libxrandr-dev mesa-common-dev && apt-get clean

RUN git clone https://github.com/asb2m10/dexed.git

RUN cd /dexed/Builds/Linux && \
  make CONFIG=Release && \
  install -Dm755 build/Dexed.so /usr/lib/vst/Dexed.so


ENTRYPOINT ["/bin/cp","/dexed/Builds/Linux/build/Dexed", "/dexed/Builds/Linux/build/Dexed.so", "/vol"]

Building the binaries:

  1. Build the docker container docker build . -t dexed.
  2. Run the container with a volume attached docker run -v $(pwd)/dexed-bin:/vol dexed. This will copy the binaries built in the container to you local hard drive.
  3. You will find the dexed binaries in the dexed-bin dir of your current directory :)