Building on Mac OS X with Homebrew - nicholasrobinson/BuddyBox-PPM GitHub Wiki
The steps for building on Mac OS X are fairly simple, and though I haven't yet been able to get BuddyBox-PPM
to work with my Spektrum DX6, I have been able to get my mac to make some suitably freaky noises, so I'm half way there!
-
Install portaudio (the audio library BuddyBox-PPM uses):
$> brew install portaudio
-
Change BuddyBox-PPM's
Makefile
to point to your copy of portaudio by making the following changesCFLAGS:=-Wall CFILES:=$(wildcard src/*.c) OBJS:=$(patsubst src/%.c,objs/%.o,$(CFILES))
HEADERS:=$(wildcard src/.h) -INCLUDES:=/opt/local/include +INCLUDES:=/usr/local/opt/portaudio/include LIBS:=$(wildcard $(OS)/.a) -LINK_FLAGS:=/opt/local/lib/libportaudio.a +LINK_FLAGS:=/usr/local/opt/portaudio/lib/libportaudio.a
OS:=$(shell uname) ifeq ($(OS),Darwin) ```
(I determined this location by replacing `/opt/local` with the output from the command `brew --prefix portaudio`)
-
Now build BuddyBox-PPM as per the installation instructions, then you can run!
$> make clean && make $> ./BuddyBox-PPM BuddyBox: Initializing.