- Use Macports to install gnuradio
- Download the source from https://github.com/bistromath/gr-air-modes
- During the make it complains about not being able to find the pmt libraries
FIND_LIBRARY(
GNURADIO_PMT_LIBRARIES
NAMES gnuradio-pmt
HINTS $ENV{GNURADIO_RUNTIME_DIR}/lib
${PC_GNURADIO_RUNTIME_LIBDIR}
${CMAKE_INSTALL_PREFIX}/lib/
${CMAKE_INSTALL_PREFIX}/lib64/
PATHS /usr/local/lib
/usr/local/lib64
/usr/lib
/usr/lib64
)
Then add ${GNURADIO_PMT_LIBRARIES} to target_link_libraries in lib/CMakeLists.txt
- Compiling and installing now works, but we get a "Fatal Python error: PyThreadState_Get: no current thread" when running modes_rx
Change the cmake command to
cmake -DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib ../
Now it should work.