Build Instructions for Windows - dh1tw/remoteAudio GitHub Wiki

  1. Make sure, you have installed a recent Go version (>= 1.16).

  2. Make sure, you have installed Docker Desktop and activated WSL2.

  3. Open a Powershell and clone the repository

$ git clone https://github.com/dh1tw/remoteAudio.git

  1. Change into the remoteAudio directory
$ cd remoteAudio
  1. Call the docker based cross-compilation chain:
$ 
$ docker run --rm -v ${pwd}:/usr/src/myapp -w /usr/src/myapp dh1tw/remoteaudio-xcompile:windows-amd64 /bin/sh -c 'make dist && /scripts/getlibs.sh .'

The command above will mount your local directory (with the remoteAudio source code) into the docker container. The example above generates with make dist distributable executable. You could also generate the uncompressed binary with ELF tables by replacing make dist with make. The getlibs.sh script will copy the needed shared libraries (*.DLL)s into the local directory.