From a1cb37a66a65ebd82840297cc51a2782773bbbf0 Mon Sep 17 00:00:00 2001 From: Sam Burdick Date: Mon, 15 Jan 2024 18:38:03 -0800 Subject: [PATCH] Add macOS build instructions --- host/README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/host/README.md b/host/README.md index f2fb4785..c047b723 100644 --- a/host/README.md +++ b/host/README.md @@ -89,6 +89,26 @@ You can build and install from ports: # make install ``` +## How to build the host software on macOS: + +### Install dependencies + +Homebrew: `brew install cmake libusb pkg-config` + +Install FFTW from [this guide](https://www.fftw.org/install/mac.html) + +### Build host software on Linux: +```sh +mkdir host/build +cd host/build +cmake .. +make +sudo make install +sudo update_dyld_shared_cache # equivalent to ldconfig in linux +``` + +## Credits + principal author: Michael Ossmann http://greatscottgadgets.com/hackrf/