Build instructions MacOS - dh1tw/remoteAudio GitHub Wiki
Build instructions for MacOS
- Make sure, you have installed a recent Go version (>= 1.16). Although not strictly necessary anymore, it is still recommended to set the $GOPATH environment variable and add $GOPATH/bin to your $PATH environment path variable.
If this is the first time you use go, you might want to append them to your bash profile ($HOME/.profile) so that the variables are set automatically. For example:
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
-
Install homebrew packages:
$ brew update $ brew install pkg-config opus opusfile portaudio protobuf libsamplerate -
Clone this repository including the submodules
$ git clone --recurse-submodules https://github.com/dh1tw/remoteAudio.git -
Change into the repository's directory
$ cd remoteAudio -
Download and install go dependencies
$ make install-deps -
Build remoteAudio
$ make build -
Optional: Install remoteAudio on your Systems
$ make install