CubicSDR

From HFUnderground

Jump to: navigation, search

Mac OS X build instructions for CubicSDR, which works with RTL-SDR devices:


Contents

Build wxWidgets

mkdir ~/Dev
mkdir ~/Dev/wxWidgets-build
cd ~/Dev
wget http://sourceforge.net/projects/wxwindows/files/3.0.2/wxWidgets-3.0.2.tar.bz2/download
tar -xvjpf download
cd 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/<username>/Dev/wxWidgets-staticlib CXXFLAGS="-std=c++0x" --with-libiconv=/usr
make && make install



Build SoapySDR

sudo apt-get install git build-essential automake cmake 
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


Build CubicSDR

cd ~/Dev
git clone https://github.com/cjcliffe/CubicSDR.git
cmake ../ -DwxWidgets_CONFIG_EXECUTABLE=/Users/<username>/Dev/wxWidgets-staticlib/bin/wx-config -DCMAKE_BUILD_TYPE=Release -DBUNDLE_APP=1 -DCPACK_BINARY_DRAGNDROP=1
cpack


Build SoapyRTLSDR

cd ~/Dev
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



This site is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com. Some links may be affiliate links. We may get paid if you buy something or take an action after clicking one of these.