HFU HF Underground
Technical Topics => SDR - Software Defined Radio => Topic started by: ChrisSmolinski on December 01, 2015, 2123 UTC
-
I decided to give building CubicSDR a try. I followed the instructions here: https://github.com/cjcliffe/CubicSDR/wiki/Build-OSX
I did have to make one change, I think there were typos on these two lines:
ccliffe$ cd CubicSDR/cmake_build
ccliffe$ cmake ../ -DwxWidgets_CONFIG_EXECUTABLE=/Users/<YOUR_USERNAME>/wxWidgets/wxWidgets-staticlib/bin/wx-config -DCMAKE_BUILD_TYPE=Release -DBUNDLE_APP=1 -DCPACK_BINARY_DRAGNDROP=1
I ended up with an app that runs, but does not find any RTL devices. Any ideas?
Here's the build steps I used:
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/cps/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/cps/Dev/wxWidgets-staticlib/bin/wx-config -DCMAKE_BUILD_TYPE=Release -DBUNDLE_APP=1 -DCPACK_BINARY_DRAGNDROP=1
cpack
-
Thanks to CubicSDR author Charles J. Cliffe for the solution! I also need to 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
I've created a page on the HFU wiki with the build instructions: http://www.hfunderground.com/wiki/CubicSDR (http://www.hfunderground.com/wiki/CubicSDR)