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$ mkdir ~/Dev
ccliffe$ cd ~/Dev ccliffe$ cd ~/Dev
ccliffe$ mkdir wxWidgets-build Dev$ 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 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
tar -xvjpf wxWidgets-3.0.2.tar.bz2 Dev$ tar -xvjpf wxWidgets-3.0.2.tar.bz2
... unpacking ... ... unpacking ...
ccliffe$ cd wxWidgets-3.0.2 Dev$ 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 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 ... ... configuring ...
ccliffe$ make && make install wxWidgets-3.0.2$ make && make install
... building, installing ... ... building, installing ...
``` ```
### Build SoapySDR ### Build SoapySDR
``` ```
git clone https://github.com/pothosware/SoapySDR.git ccliffe$ cd ~/Dev
cd SoapySDR Dev$ git clone https://github.com/pothosware/SoapySDR.git
mkdir build Dev$ cd SoapySDR
cd build SoapySDR$ mkdir build
cmake .. -DCMAKE_BUILD_TYPE=Release SoapySDR$ cd build
make build$ cmake .. -DCMAKE_BUILD_TYPE=Release
sudo make install build$ make
SoapySDRUtil --info build$ sudo make install
build$ SoapySDRUtil --info
``` ```
### Build CubicSDR ### Build CubicSDR
@ -80,27 +81,29 @@ Example Support Modules:
SoapyRTLSDR (similar to other Soapy modules): SoapyRTLSDR (similar to other Soapy modules):
``` ```
sudo port install rtl-sdr ccliffe$ cd ~/Dev
git clone https://github.com/pothosware/SoapyRTLSDR.git Dev$ sudo port install rtl-sdr
cd SoapyRTLSDR Dev$ git clone https://github.com/pothosware/SoapyRTLSDR.git
mkdir build Dev$ cd SoapyRTLSDR
cd build SoapyRTLSDR$ mkdir build
cmake .. -DCMAKE_BUILD_TYPE=Release SoapyRTLSDR$ cd build
make build$ cmake .. -DCMAKE_BUILD_TYPE=Release
sudo make install build$ make
SoapySDRUtil --probe build$ sudo make install
build$ SoapySDRUtil --probe
``` ```
SoapySDRPlay: (though usually latest SoapySDRPlay package will be available from www.sdrplay.com/mac.html) SoapySDRPlay: (though usually latest SoapySDRPlay package will be available from www.sdrplay.com/mac.html)
``` ```
git clone https://github.com/pothosware/SoapySDRPlay.git ccliffe$ cd ~/Dev
cd SoapySDRPlay Dev$ git clone https://github.com/pothosware/SoapySDRPlay.git
mkdir build Dev$ cd SoapySDRPlay
cd build SoapySDRPlay$ mkdir build
cmake .. -DCMAKE_BUILD_TYPE=Release SoapySDRPlay$ cd build
make build$ cmake .. -DCMAKE_BUILD_TYPE=Release
sudo make install build$ make
SoapySDRUtil --probe build$ sudo make install
build$ SoapySDRUtil --probe
``` ```
- Always ensure to update, build and install SoapySDR before building dependent projects. - Always ensure to update, build and install SoapySDR before building dependent projects.