Skip to content

Build instructions MacOS

Tobias Wellnitz edited this page Nov 3, 2021 · 5 revisions

Build instructions for MacOS

  1. 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
  1. Install homebrew packages:

    $ brew update
    $ brew install pkg-config opus opusfile portaudio protobuf libsamplerate
    
  2. Clone this repository including the submodules

    $ git clone --recurse-submodules https://github.com/dh1tw/remoteAudio.git
    
  3. Change into the repository's directory

    $ cd remoteAudio
    
  4. Download and install go dependencies

    $ make install-deps
    
  5. Build remoteAudio

    $ make build
    
  6. Optional: Install remoteAudio on your Systems

    $ make install