We seek to understand and document all radio transmissions, legal and otherwise, as part of the radio listening hobby. We do not encourage any radio operations contrary to regulations. Always consult with the appropriate authorities if you have questions concerning what is permissible in your locale.

Author Topic: Problems building CubicSDR  (Read 3177 times)

Offline ChrisSmolinski

  • Administrator
  • Marconi Class DXer
  • *****
  • Posts: 31386
  • Westminster, MD USA
    • View Profile
    • Black Cat Systems
Problems building CubicSDR
« 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:
Code: [Select]
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
Chris Smolinski
Westminster, MD
eQSLs appreciated! csmolinski@blackcatsystems.com
netSDR / AFE822x / AirSpy HF+ / KiwiSDR / 900 ft Horz skyloop / 500 ft NE beverage / 250 ft V Beam / 58 ft T2FD / 120 ft T2FD / 400 ft south beverage / 43m, 20m, 10m  dipoles / Crossed Parallel Loop / Discone in a tree

Offline ChrisSmolinski

  • Administrator
  • Marconi Class DXer
  • *****
  • Posts: 31386
  • Westminster, MD USA
    • View Profile
    • Black Cat Systems
Re: Problems building CubicSDR
« Reply #1 on: December 02, 2015, 1355 UTC »
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
Chris Smolinski
Westminster, MD
eQSLs appreciated! csmolinski@blackcatsystems.com
netSDR / AFE822x / AirSpy HF+ / KiwiSDR / 900 ft Horz skyloop / 500 ft NE beverage / 250 ft V Beam / 58 ft T2FD / 120 ft T2FD / 400 ft south beverage / 43m, 20m, 10m  dipoles / Crossed Parallel Loop / Discone in a tree

 

HFUnderground T-Shirt
HFUnderground T-Shirt
by MitchellTimeDesigns