From dc43e764058ac3ced4b50e86a9874d3dea758613 Mon Sep 17 00:00:00 2001 From: Christian Haeusler <794584+corvus-ch@users.noreply.github.com> Date: Sat, 2 Oct 2021 18:26:30 +0200 Subject: [PATCH] Document how to build on MacOS --- readme.md | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 8a633c57..b990f7f3 100644 --- a/readme.md +++ b/readme.md @@ -50,7 +50,38 @@ There are currently no existing packages for other distributions, for these syst ## MacOS -TODO +You might get lucky by using the installer downloadable from [the Releases page](https://github.com/AlexandreRouma/SDRPlusPlus/releases). + +### Building it yourself + +This guide requires you to have Homebrew installed. Check out https://brew.sh/ on how to do so. + +Get yourself a copy of the source code. This can be done by downloading the +source package from [the Releases +page](https://github.com/AlexandreRouma/SDRPlusPlus/releases). Eextract it to a +location of your choice. Alternativley you can clone +https://github.com/AlexandreRouma/SDRPlusPlus.git using git. + +```sh +brew install \ + airspy \ + airspyhf \ + cmake \ + glew \ + glfw \ + hackrf \ + librtlsdr \ + portaudio \ + rt-audio \ + soapyrtlsdr \ + volk +mkdir build +cd build +cmake .. -DOPT_BUILD_PLUTOSDR_SOURCE=false +make -j$(sysctl -n hw.ncpu) +``` + +The above was tested on macOS Big Sur (11.5). ## BSD