-
Notifications
You must be signed in to change notification settings - Fork 24
Build Instructions for Windows
Tobias Wellnitz edited this page Dec 12, 2021
·
2 revisions
-
Make sure, you have installed a recent Go version (>= 1.16).
-
Make sure, you have installed Docker Desktop and activated WSL2.
-
Open a Powershell and clone the repository
$ git clone https://github.com/dh1tw/remoteAudio.git
- Change into the
remoteAudio
directory
$ cd remoteAudio
- 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.