Skip to content

Instantly share code, notes, and snippets.

@acarabott
Last active February 27, 2021 23:36
Show Gist options
  • Save acarabott/5241d923bb399e78569bcb05a859a208 to your computer and use it in GitHub Desktop.
Save acarabott/5241d923bb399e78569bcb05a859a208 to your computer and use it in GitHub Desktop.
Instructions for building Faust and FaustLive on macOS with Homebrew

Building Faust on macOS with Homebrew

If you haven't installed Homebrew get it from https://brew.sh/

Faust

git clone [email protected]:grame-cncm/faust.git
cd faust

brew install llvm openssl

export PATH="/usr/local/opt/llvm/bin:/usr/local/opt/openssl/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib -L/usr/local/opt/openssl/lib $LDFLAGS"
export CPPFLAGS="-I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include $CPPFLAGS"

make dynamic
make httpd
make remote
make sound2faust
sudo make install

Faustlive

Download and install Jack2 from http://jackaudio.org/downloads/

(Don't install via Homebrew, which will install Jack1 and won't work)

# (if you're still in the faust directory then cd .. up a level)
git clone [email protected]:grame-cncm/faustlive.git

brew install qt qrencode libmicrohttpd curl liblo

export PATH="/usr/local/opt/qt/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CXXFLAGS="-I/usr/local/opt/openssl/include"

make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment