Updated Build OSX (markdown)

Charles J. Cliffe 2016-01-25 13:11:28 -05:00
parent 8cc485a97a
commit 42197fc39e
1 changed files with 25 additions and 3 deletions

@ -1,5 +1,9 @@
# OSX Build Instructions - (/w MacPorts): # OSX Build Instructions - (/w MacPorts):
### Install XCode
To get started you'll need to install XCode so that you have the compiler and build tools
### Build wxWidgets ### Build wxWidgets
Substitute your own user paths where appropriate. Substitute your own user paths where appropriate.
@ -20,7 +24,6 @@ ccliffe$ make && make install
### Build SoapySDR ### Build SoapySDR
``` ```
sudo apt-get install git build-essential automake cmake
git clone https://github.com/pothosware/SoapySDR.git git clone https://github.com/pothosware/SoapySDR.git
cd SoapySDR cd SoapySDR
mkdir build mkdir build
@ -28,15 +31,34 @@ cd build
cmake .. -DCMAKE_BUILD_TYPE=Release cmake .. -DCMAKE_BUILD_TYPE=Release
make make
sudo make install sudo make install
sudo ldconfig #only needed on linux systems
SoapySDRUtil --info SoapySDRUtil --info
``` ```
### Install dependencies ### Install dependencies fftw-3 and liquid-dsp
You can use MacPorts or Brew for this part.
#### MacPorts:
``` ```
ccliffe$ sudo port install fftw-3-single liquid-dsp ccliffe$ sudo port install fftw-3-single liquid-dsp
.. installing .. .. installing ..
``` ```
### Homebrew:
```
ccliffe$ brew install fftw automake
.. installing ..
ccliffe$ git clone https://github.com/jgaeddert/liquid-dsp.git
ccliffe$ cd liquid-dsp
liquid-dsp$ ./bootstrap.sh
liquid-dsp$ ./configure
.. configuring ..
liquid-dsp$ make
.. building ..
liquid-dsp$ sudo make install
.. installing ..
```
### Build CubicSDR ### Build CubicSDR
``` ```