-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1404 from smburdick/macos-build-directions
macOS build directions
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 it | ||
```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 <[email protected]> | ||
|
||
http://greatscottgadgets.com/hackrf/ |