-
Notifications
You must be signed in to change notification settings - Fork 80
Compiling piHPSDR on an Apple Mac
John Melton edited this page Mar 5, 2021
·
2 revisions
(Note: this uses homebrew to install the required packages)
xcode-select --install /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install portaudio brew install fftw brew install gtk+3 brew install pkg-config brew install git
I would recommend creating a directory '''github''' to download the source into:
mkdir github cd github
Download the source:
git clone https://github.com/g0orx/wdsp.git git clone https://github.com/g0orx/pihpsdr.git
cd ~/github/wdsp make clean make -j4 sudo make install
Copy libwdsp.so to the pihpsdr install directory:
cp libwdsp.so ~/github/pihpsdr/release/pihpsdr
cd ~/github/pihpsdr
Using your favourite text editor load Makefile.
Find the line with:
GPIO_INCLUDE=GPIO
Comment out the line:
#GPIO_INCLUDE=GPIO
Save the save.
cd ~/github/pihpsdr make clean make -j4 make release
cd ~ tar xvf ~/github/pihpsdr/release/pihpsdr.tar cd pihpsdr sh ./install.sh