Updated Build OSX (markdown)

Charles J. Cliffe 2016-02-20 23:54:26 -05:00
parent cb16a93067
commit 97d16e8b25
1 changed files with 34 additions and 31 deletions

@ -35,27 +35,28 @@ Substitute your own user paths where appropriate.
```
ccliffe$ mkdir ~/Dev
ccliffe$ cd ~/Dev
ccliffe$ mkdir wxWidgets-build
wget -O wxWidgets-3.0.2.tar.bz2 http://sourceforge.net/projects/wxwindows/files/3.0.2/wxWidgets-3.0.2.tar.bz2/download
tar -xvjpf wxWidgets-3.0.2.tar.bz2
Dev$ mkdir wxWidgets-build
Dev$ wget -O wxWidgets-3.0.2.tar.bz2 http://sourceforge.net/projects/wxwindows/files/3.0.2/wxWidgets-3.0.2.tar.bz2/download
Dev$ tar -xvjpf wxWidgets-3.0.2.tar.bz2
... unpacking ...
ccliffe$ cd wxWidgets-3.0.2
ccliffe$ ./configure --with-opengl --disable-shared --enable-monolithic --with-libjpeg --with-libtiff --with-libpng --with-zlib --with-mac --disable-sdltest --enable-unicode --enable-display --enable-propgrid --disable-webkit --disable-webview --disable-webviewwebkit --with-macosx-version-min=10.9 --prefix=/Users/<YOUR_USERNAME>/Dev/wxWidgets-build CXXFLAGS="-std=c++0x" --with-libiconv=/usr
Dev$ cd wxWidgets-3.0.2
wxWidgets-3.0.2$ ./configure --with-opengl --disable-shared --enable-monolithic --with-libjpeg --with-libtiff --with-libpng --with-zlib --with-mac --disable-sdltest --enable-unicode --enable-display --enable-propgrid --disable-webkit --disable-webview --disable-webviewwebkit --with-macosx-version-min=10.9 --prefix=/Users/<YOUR_USERNAME>/Dev/wxWidgets-build CXXFLAGS="-std=c++0x" --with-libiconv=/usr
... configuring ...
ccliffe$ make && make install
wxWidgets-3.0.2$ make && make install
... building, installing ...
```
### Build SoapySDR
```
git clone https://github.com/pothosware/SoapySDR.git
cd SoapySDR
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
sudo make install
SoapySDRUtil --info
ccliffe$ cd ~/Dev
Dev$ git clone https://github.com/pothosware/SoapySDR.git
Dev$ cd SoapySDR
SoapySDR$ mkdir build
SoapySDR$ cd build
build$ cmake .. -DCMAKE_BUILD_TYPE=Release
build$ make
build$ sudo make install
build$ SoapySDRUtil --info
```
### Build CubicSDR
@ -80,27 +81,29 @@ Example Support Modules:
SoapyRTLSDR (similar to other Soapy modules):
```
sudo port install rtl-sdr
git clone https://github.com/pothosware/SoapyRTLSDR.git
cd SoapyRTLSDR
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
sudo make install
SoapySDRUtil --probe
ccliffe$ cd ~/Dev
Dev$ sudo port install rtl-sdr
Dev$ git clone https://github.com/pothosware/SoapyRTLSDR.git
Dev$ cd SoapyRTLSDR
SoapyRTLSDR$ mkdir build
SoapyRTLSDR$ cd build
build$ cmake .. -DCMAKE_BUILD_TYPE=Release
build$ make
build$ sudo make install
build$ SoapySDRUtil --probe
```
SoapySDRPlay: (though usually latest SoapySDRPlay package will be available from www.sdrplay.com/mac.html)
```
git clone https://github.com/pothosware/SoapySDRPlay.git
cd SoapySDRPlay
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
sudo make install
SoapySDRUtil --probe
ccliffe$ cd ~/Dev
Dev$ git clone https://github.com/pothosware/SoapySDRPlay.git
Dev$ cd SoapySDRPlay
SoapySDRPlay$ mkdir build
SoapySDRPlay$ cd build
build$ cmake .. -DCMAKE_BUILD_TYPE=Release
build$ make
build$ sudo make install
build$ SoapySDRUtil --probe
```
- Always ensure to update, build and install SoapySDR before building dependent projects.