Git Product home page Git Product logo

homebrew-gnuradio's Introduction

homebrew-gnuradio

This is a collection of Homebrew recipes that makes it easier to get GNU Radio, GQRX, HackRF, RTL-SDR and BladeRF running on OS X.

Installation

These steps have been tested on Mac OS X Yosemite 10.10 with Apple Command Line Tools 6.1.0.

  • Install Homebrew if you haven't already

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    or if you already have it installed, update and upgrade everything:

    brew update
    brew upgrade
  • After that run the following commands to make sure you have no issues with your setup, cleanup all warnings

    brew doctor
  • Add this line to your profile (ie ~/.profile or ~/.bash_profile or ~/.zshenv) and reload your profile (source ~/.profile or exec $SHELL)

    export PATH=/usr/local/sbin:/usr/local/bin:$PATH
  • Install the python package prerequisites

    brew install python gcc swig
  • Install command line tools for XCode

    xcode-select --install
  • Install the prerequisite python packages

    pip install numpy Cheetah lxml
    pip install https://github.com/scipy/scipy/archive/v0.12.0.tar.gz
    export PKG_CONFIG_PATH="/usr/X11/lib/pkgconfig" 
    pip install https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.2.1/matplotlib-1.2.1.tar.gz
  • Install wxmac with python bindings

    brew install wxpython
  • Install gnuradio

    brew tap andresv/homebrew-gnuradio
    brew install gnuradio --with-qt
  • [optional] install hackrf libraries, so gr-osmosdr detects it during build

    brew install hackrf --HEAD
  • [optional] install bladerf libraries, so gr-osmosdr detects it during build

    brew install bladerf
  • [optional] install rtlsdr libraries, so gr-osmosdr detects it during build

    brew install rtlsdr --HEAD
  • Install blocks that are needed to connect real hardware (rtl-sdr, hackrf, bladerf) to gnuradio

    brew install gr-osmosdr gr-baz --HEAD
  • Create the ~/.gnuradio/config.conf config file for custom block support:

    mkdir ~/.gnuradio
    vim ~/.gnuradio/config.conf

    Add these lines into file otherwise gnuradio is unable to locate blocks from gr-osmosdr and gr-baz:

    [grc]
    local_blocks_path=/usr/local/share/gnuradio/grc/blocks

    gnuradio-companion shows lot of duplication warnings after that - this is normal. Everything is installed correctly if osmocom Source and RTL-SDR Source blocks are available inside GNU Radio Companion.

  • Install Gqrx for scanning frequencies and viewing waterfall

    brew install gqrx --HEAD
    brew linkapps

Gqrx is installed under Applications and can be started as usual Mac application.

Configure it to use the HackRF. Probably best to start the sample rate at 1000000 until you know how much your system can handle. Everything should now be working. It is time to give it a try! Below are some of the programs you can try:

gnuradio-companion
osmocom_fft -a hackrf

##Troubleshooting

  • Matplotlib

    If you get the following type of errors installing matplotlib:

    error: expected identifier or '(' before '^' token

    Try the following:

    export CC=clang
    export CXX=clang++
    export LDFLAGS="-L/usr/X11/lib"
    export CFLAGS="-I/usr/X11/include -I/usr/X11/include/freetype2"

    From Stackoverflow via @savant42

  • gnuradio-companion

    Probably gr-baz.rb is built against System's Python if gnuradio-companion crashes with the following error:

    Warning: Block with key "xmlrpc_server" already exists.
    Ignoring: /usr/local/Cellar/gnuradio/3.7.5.1/share/gnuradio/grc/blocks/xmlrpc_server.xml
    Fatal Python error: PyThreadState_Get: no current thread
    Abort trap: 6

    I had this error, now it is fixed with this commit.

  • Uninstall Homebrew If you think you have some cruftiness with Homebrew, this Gist will completely uninstall Homebrew and any libraries it may have installed. Of course if you are using Homebrew for other things you could make a mess of your life.

    This Gist is from the Homebrew FAQ

    Then finish the clean-up with these steps

    rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
    rm -rf /Library/Caches/Homebrew
    rm -rf /usr/local/lib/python2.7/site-packages

homebrew-gnuradio's People

Contributors

andresv avatar barabanus avatar crwbot avatar edy555 avatar elggem avatar jcftang avatar ksnieck avatar masto avatar mborgerson avatar mcauser avatar mjmdavis avatar robotastic avatar tehmaze avatar titanous avatar wcummings avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

homebrew-gnuradio's Issues

rtl-sdr devices are not recognise under Mac OS X Yosemite

Tried with core rtlsdr lib:

  brew install librtlsdr

However rtl_test shows:

  No supported devices found.

Then tried:

  brew remove librtlsdr

Added rtlsdr back to my fork.

  brew update
  brew reinstall gr-osmosdr
  brew reinstall gqrx

But it still does not find USB device. Could be Yosemite specific, have not tried with other machines.

gr-maz make error

Servus,
on el capitan the installation og gr-baz does not work for me. Here ist the console-output:

Last 15 lines from /Users/framlin/Library/Logs/Homebrew/gr-baz/02.make:
Scanning dependencies of target pygen_swig_760a5
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f swig/CMakeFiles/pygen_swig_760a5.dir/build.make swig/CMakeFiles/pygen_swig_760a5.dir/build
[ 96%] Generating baz_swig.pyo
[ 96%] Generating baz_swig.pyc
cd /tmp/gr-baz-20160716-85608-g7g4k1/build/swig && /usr/local/bin/python2 -O /tmp/gr-baz-20160716-85608-g7g4k1/build/python_compile_helper.py /tmp/gr-baz-20160716-85608-g7g4k1/build/swig/baz_swig.py /tmp/gr-baz-20160716-85608-g7g4k1/build/swig/baz_swig.pyo
cd /tmp/gr-baz-20160716-85608-g7g4k1/build/swig && /usr/local/bin/python2 /tmp/gr-baz-20160716-85608-g7g4k1/build/python_compile_helper.py /tmp/gr-baz-20160716-85608-g7g4k1/build/swig/baz_swig.py /tmp/gr-baz-20160716-85608-g7g4k1/build/swig/baz_swig.pyc
[ 96%] Built target pygen_swig_760a5
Scanning dependencies of target _baz_swig
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f swig/CMakeFiles/_baz_swig.dir/build.make swig/CMakeFiles/_baz_swig.dir/build
make[2]: *** No rule to make target /usr/local/Frameworks/Python.framework/Versions/2.7/Python', needed byswig/_baz_swig.so'. Stop.
make[2]: *** Waiting for unfinished jobs....
[ 98%] Building CXX object swig/CMakeFiles/_baz_swig.dir/baz_swigPYTHON_wrap.cxx.o
cd /tmp/gr-baz-20160716-85608-g7g4k1/build/swig && /usr/local/Library/Homebrew/shims/super/clang++ -DHAVE_CONFIG_H -D_baz_swig_EXPORTS -I/usr/local/include -I/usr/local/Cellar/libusb/1.0.20/include/libusb-1.0 -I/tmp/gr-baz-20160716-85608-g7g4k1/build -I/tmp/gr-baz-20160716-85608-g7g4k1/lib -I/tmp/gr-baz-20160716-85608-g7g4k1/build/swig -I/tmp/gr-baz-20160716-85608-g7g4k1/swig -I/usr/local/include/gnuradio/swig -I/usr/include/python2.7 -F/usr/local/Frameworks -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.11 -fPIC -Wno-unused-but-set-variable -o CMakeFiles/_baz_swig.dir/baz_swigPYTHON_wrap.cxx.o -c /tmp/gr-baz-20160716-85608-g7g4k1/build/swig/baz_swigPYTHON_wrap.cxx
make[1]: *** [swig/CMakeFiles/_baz_swig.dir/all] Error 2
make: *** [all] Error 2

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/andresv/homebrew-gnuradio/issues

Can you imagine, where the problem is?

here the gist-logs:
https://gist.github.com/anonymous/d9e0b1fc0c31ccfca3986291cd14623e

Thanx in advance

gr-osmosdr make error [Sierra 10.12.3]

Running macOS Sierra (10.12.3), can't install gr-osmosdr:

Dave$ brew install gr-osmosdr --HEAD
==> Installing gr-osmosdr from andresv/gnuradio
==> Cloning git://git.osmocom.org/gr-osmosdr
Updating /Users/Dave/Library/Caches/Homebrew/gr-osmosdr--git
==> Checking out branch master
Warning: Calling Formula.factory is deprecated!
Use Formulary.factory instead.
/usr/local/Homebrew/Library/Taps/andresv/homebrew-gnuradio/gr-osmosdr.rb:20:in `python_path'
Please report this to the andresv/gnuradio tap!

==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/gr-osmosdr/HEAD-ae686c4 -DCM
==> make
Last 15 lines from /Users/Dave/Library/Logs/Homebrew/gr-osmosdr/02.make:
cd /tmp/gr-osmosdr-20170203-99347-184yavb/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170203-99347-184yavb/build/lib -I/tmp/gr-osmosdr-20170203-99347-184yavb/include -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/fcd -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/file -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/rtl -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/rtl_tcp -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/uhd -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/hackrf -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/bladerf -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/rfspace -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/redpitaya -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/bladerf/bladerf_common.cc.o -c /tmp/gr-osmosdr-20170203-99347-184yavb/lib/bladerf/bladerf_common.cc
[ 81%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rfspace/rfspace_source_c.cc.o
cd /tmp/gr-osmosdr-20170203-99347-184yavb/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170203-99347-184yavb/build/lib -I/tmp/gr-osmosdr-20170203-99347-184yavb/include -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/fcd -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/file -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/rtl -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/rtl_tcp -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/uhd -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/hackrf -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/bladerf -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/rfspace -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/redpitaya -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/rfspace/rfspace_source_c.cc.o -c /tmp/gr-osmosdr-20170203-99347-184yavb/lib/rfspace/rfspace_source_c.cc
[ 83%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_source_c.cc.o
cd /tmp/gr-osmosdr-20170203-99347-184yavb/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170203-99347-184yavb/build/lib -I/tmp/gr-osmosdr-20170203-99347-184yavb/include -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/fcd -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/file -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/rtl -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/rtl_tcp -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/uhd -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/hackrf -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/bladerf -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/rfspace -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/redpitaya -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_source_c.cc.o -c /tmp/gr-osmosdr-20170203-99347-184yavb/lib/redpitaya/redpitaya_source_c.cc
[ 86%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_sink_c.cc.o
[ 88%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_common.cc.o
cd /tmp/gr-osmosdr-20170203-99347-184yavb/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170203-99347-184yavb/build/lib -I/tmp/gr-osmosdr-20170203-99347-184yavb/include -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/fcd -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/file -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/rtl -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/rtl_tcp -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/uhd -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/hackrf -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/bladerf -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/rfspace -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/redpitaya -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_common.cc.o -c /tmp/gr-osmosdr-20170203-99347-184yavb/lib/redpitaya/redpitaya_common.cc
cd /tmp/gr-osmosdr-20170203-99347-184yavb/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170203-99347-184yavb/build/lib -I/tmp/gr-osmosdr-20170203-99347-184yavb/include -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/fcd -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/file -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/rtl -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/rtl_tcp -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/uhd -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/hackrf -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/bladerf -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/rfspace -I/tmp/gr-osmosdr-20170203-99347-184yavb/lib/redpitaya -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_sink_c.cc.o -c /tmp/gr-osmosdr-20170203-99347-184yavb/lib/redpitaya/redpitaya_sink_c.cc
[ 90%] Linking CXX shared library libgnuradio-osmosdr.dylib
cd /tmp/gr-osmosdr-20170203-99347-184yavb/build/lib && /usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_link_script CMakeFiles/gnuradio-osmosdr.dir/link.txt --verbose=1
/usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 0.1.5 -o libgnuradio-osmosdr.0.1.5git.dylib -install_name /tmp/gr-osmosdr-20170203-99347-184yavb/build/lib/libgnuradio-osmosdr.0.1.5git.dylib CMakeFiles/gnuradio-osmosdr.dir/source_impl.cc.o CMakeFiles/gnuradio-osmosdr.dir/sink_impl.cc.o CMakeFiles/gnuradio-osmosdr.dir/ranges.cc.o CMakeFiles/gnuradio-osmosdr.dir/device.cc.o CMakeFiles/gnuradio-osmosdr.dir/time_spec.cc.o CMakeFiles/gnuradio-osmosdr.dir/fcd/fcd_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/file/file_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/file/file_sink_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_f.cc.o CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_sink_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_sink_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/bladerf/bladerf_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/bladerf/bladerf_sink_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/bladerf/bladerf_common.cc.o CMakeFiles/gnuradio-osmosdr.dir/rfspace/rfspace_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_source_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_sink_c.cc.o CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_common.cc.o /usr/local/lib/libboost_thread-mt.dylib /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libboost_chrono-mt.dylib /usr/local/lib/libboost_date_time-mt.dylib /usr/local/lib/libboost_atomic-mt.dylib /usr/local/lib/libgnuradio-runtime.dylib /usr/local/lib/libgnuradio-pmt.dylib /usr/local/lib/libgnuradio-blocks.dylib /usr/local/lib/libgnuradio-fcd.dylib /usr/local/lib/librtlsdr.dylib /usr/local/lib/libgnuradio-uhd.dylib /usr/local/lib/libuhd.dylib /usr/local/lib/libhackrf.dylib /usr/local/lib/libbladeRF.dylib
cd /tmp/gr-osmosdr-20170203-99347-184yavb/build/lib && /usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_symlink_library libgnuradio-osmosdr.0.1.5git.dylib libgnuradio-osmosdr.0.1.5git.dylib libgnuradio-osmosdr.dylib
[ 90%] Built target gnuradio-osmosdr
make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/andresv/homebrew-gnuradio/issues

OS X Sierra error using Homebrew

I get error in homebrew-gnuradio installing (command: brew install gr-osmosdr gr-baz --HEAD) in OS X Sierra (10.12.6).

I referenced #12 but like below, edited source code.

require 'formula'

class GrOsmosdr < Formula
  homepage 'http://sdr.osmocom.org/trac/wiki/GrOsmoSDR'
  head 'git://git.osmocom.org/gr-osmosdr', :shallow => false

  depends_on 'cmake' => :build
  depends_on 'gnuradio'
  depends_on 'rtlsdr'

  def install
    mkdir 'build' do
      system 'cmake', '..', *std_cmake_args << "-DPYTHON_LIBRARY=#{python_path}/Frameworks/Python.framework/"
      system 'make'
      system 'make install'
    end
  end

  def python_path
    python = Formulary.factory('python')
    kegs = python.rack.children.reject { |p| p.basename.to_s == '.DS_Store' }
    kegs.find { |p| Keg.new(p).linked? } || kegs.last
  end
end

Below is make log.

2017-09-23 16:44:36 +0900

make

/usr/local/Cellar/cmake/3.9.3_1/bin/cmake -H/tmp/gr-osmosdr-20170923-48927-sajrt8 -B/tmp/gr-osmosdr-20170923-48927-sajrt8/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.9.3_1/bin/cmake -E cmake_progress_start /tmp/gr-osmosdr-20170923-48927-sajrt8/build/CMakeFiles /tmp/gr-osmosdr-20170923-48927-sajrt8/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f lib/CMakeFiles/gnuradio-osmosdr.dir/build.make lib/CMakeFiles/gnuradio-osmosdr.dir/depend
make -f swig/CMakeFiles/osmosdr_swig_swig_doc.dir/build.make swig/CMakeFiles/osmosdr_swig_swig_doc.dir/depend
make -f python/CMakeFiles/pygen_python_3fe35.dir/build.make python/CMakeFiles/pygen_python_3fe35.dir/depend
make -f grc/CMakeFiles/osmosdr_grc_xml_blocks.dir/build.make grc/CMakeFiles/osmosdr_grc_xml_blocks.dir/depend
make -f apps/CMakeFiles/pygen_apps_bb0bd.dir/build.make apps/CMakeFiles/pygen_apps_bb0bd.dir/depend
make -f apps/CMakeFiles/pygen_apps_0ee39.dir/build.make apps/CMakeFiles/pygen_apps_0ee39.dir/depend
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build && /usr/local/Cellar/cmake/3.9.3_1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/gr-osmosdr-20170923-48927-sajrt8 /tmp/gr-osmosdr-20170923-48927-sajrt8/swig /tmp/gr-osmosdr-20170923-48927-sajrt8/build /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig/CMakeFiles/osmosdr_swig_swig_doc.dir/DependInfo.cmake --color=
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build && /usr/local/Cellar/cmake/3.9.3_1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/gr-osmosdr-20170923-48927-sajrt8 /tmp/gr-osmosdr-20170923-48927-sajrt8/grc /tmp/gr-osmosdr-20170923-48927-sajrt8/build /tmp/gr-osmosdr-20170923-48927-sajrt8/build/grc /tmp/gr-osmosdr-20170923-48927-sajrt8/build/grc/CMakeFiles/osmosdr_grc_xml_blocks.dir/DependInfo.cmake --color=
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build && /usr/local/Cellar/cmake/3.9.3_1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/gr-osmosdr-20170923-48927-sajrt8 /tmp/gr-osmosdr-20170923-48927-sajrt8/apps /tmp/gr-osmosdr-20170923-48927-sajrt8/build /tmp/gr-osmosdr-20170923-48927-sajrt8/build/apps /tmp/gr-osmosdr-20170923-48927-sajrt8/build/apps/CMakeFiles/pygen_apps_0ee39.dir/DependInfo.cmake --color=
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build && /usr/local/Cellar/cmake/3.9.3_1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/gr-osmosdr-20170923-48927-sajrt8 /tmp/gr-osmosdr-20170923-48927-sajrt8/apps /tmp/gr-osmosdr-20170923-48927-sajrt8/build /tmp/gr-osmosdr-20170923-48927-sajrt8/build/apps /tmp/gr-osmosdr-20170923-48927-sajrt8/build/apps/CMakeFiles/pygen_apps_bb0bd.dir/DependInfo.cmake --color=
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build && /usr/local/Cellar/cmake/3.9.3_1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/gr-osmosdr-20170923-48927-sajrt8 /tmp/gr-osmosdr-20170923-48927-sajrt8/python /tmp/gr-osmosdr-20170923-48927-sajrt8/build /tmp/gr-osmosdr-20170923-48927-sajrt8/build/python /tmp/gr-osmosdr-20170923-48927-sajrt8/build/python/CMakeFiles/pygen_python_3fe35.dir/DependInfo.cmake --color=
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build && /usr/local/Cellar/cmake/3.9.3_1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/gr-osmosdr-20170923-48927-sajrt8 /tmp/gr-osmosdr-20170923-48927-sajrt8/lib /tmp/gr-osmosdr-20170923-48927-sajrt8/build /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib/CMakeFiles/gnuradio-osmosdr.dir/DependInfo.cmake --color=
Scanning dependencies of target pygen_python_3fe35
Scanning dependencies of target osmosdr_grc_xml_blocks
Scanning dependencies of target pygen_apps_0ee39
Scanning dependencies of target osmosdr_swig_swig_doc
Scanning dependencies of target pygen_apps_bb0bd
make -f apps/CMakeFiles/pygen_apps_bb0bd.dir/build.make apps/CMakeFiles/pygen_apps_bb0bd.dir/build
make -f apps/CMakeFiles/pygen_apps_0ee39.dir/build.make apps/CMakeFiles/pygen_apps_0ee39.dir/build
make -f grc/CMakeFiles/osmosdr_grc_xml_blocks.dir/build.make grc/CMakeFiles/osmosdr_grc_xml_blocks.dir/build
make -f python/CMakeFiles/pygen_python_3fe35.dir/build.make python/CMakeFiles/pygen_python_3fe35.dir/build
make -f swig/CMakeFiles/osmosdr_swig_swig_doc.dir/build.make swig/CMakeFiles/osmosdr_swig_swig_doc.dir/build
make[2]: Nothing to be done for `swig/CMakeFiles/osmosdr_swig_swig_doc.dir/build'.
[  9%] Generating osmocom_siggen_base.pyc
[  9%] Generating __init__.pyc
[  9%] Generating rtlsdr_source.xml
[  2%] Built target osmosdr_swig_swig_doc
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/apps && /usr/local/bin/python2 /tmp/gr-osmosdr-20170923-48927-sajrt8/build/python_compile_helper.py /tmp/gr-osmosdr-20170923-48927-sajrt8/apps/osmocom_siggen_base.py /tmp/gr-osmosdr-20170923-48927-sajrt8/build/apps/osmocom_siggen_base.pyc
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/python && /usr/local/bin/python2 /tmp/gr-osmosdr-20170923-48927-sajrt8/build/python_compile_helper.py /tmp/gr-osmosdr-20170923-48927-sajrt8/python/__init__.py /tmp/gr-osmosdr-20170923-48927-sajrt8/build/python/__init__.pyc
[ 11%] Shebangin osmocom_fft
[ 11%] Generating osmocom_siggen_base.pyo
make -f swig/CMakeFiles/_osmosdr_swig_swig_tag.dir/build.make swig/CMakeFiles/_osmosdr_swig_swig_tag.dir/depend
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/grc && /usr/local/bin/python2 /tmp/gr-osmosdr-20170923-48927-sajrt8/grc/gen_osmosdr_blocks.py /tmp/gr-osmosdr-20170923-48927-sajrt8/build/grc/rtlsdr_source.xml
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/apps && /usr/local/bin/python2 -O /tmp/gr-osmosdr-20170923-48927-sajrt8/build/python_compile_helper.py /tmp/gr-osmosdr-20170923-48927-sajrt8/apps/osmocom_siggen_base.py /tmp/gr-osmosdr-20170923-48927-sajrt8/build/apps/osmocom_siggen_base.pyo
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/apps && /usr/local/bin/python2 -c "import re; R=re.compile('^#!.*\$\\n',flags=re.MULTILINE); open('/tmp/gr-osmosdr-20170923-48927-sajrt8/build/apps/osmocom_fft.exe','w').write('#!/usr/local/bin/python2\\n'+R.sub('',open('/tmp/gr-osmosdr-20170923-48927-sajrt8/apps/osmocom_fft','r').read()))"
[ 14%] Generating osmosdr_source.xml
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/grc && /usr/local/bin/python2 /tmp/gr-osmosdr-20170923-48927-sajrt8/grc/gen_osmosdr_blocks.py /tmp/gr-osmosdr-20170923-48927-sajrt8/build/grc/osmosdr_source.xml
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build && /usr/local/Cellar/cmake/3.9.3_1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/gr-osmosdr-20170923-48927-sajrt8 /tmp/gr-osmosdr-20170923-48927-sajrt8/swig /tmp/gr-osmosdr-20170923-48927-sajrt8/build /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig/CMakeFiles/_osmosdr_swig_swig_tag.dir/DependInfo.cmake --color=
Scanning dependencies of target _osmosdr_swig_swig_tag
make -f swig/CMakeFiles/_osmosdr_swig_swig_tag.dir/build.make swig/CMakeFiles/_osmosdr_swig_swig_tag.dir/build
[ 16%] Shebangin osmocom_siggen
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/apps && /usr/local/bin/python2 -c "import re; R=re.compile('^#!.*\$\\n',flags=re.MULTILINE); open('/tmp/gr-osmosdr-20170923-48927-sajrt8/build/apps/osmocom_siggen.exe','w').write('#!/usr/local/bin/python2\\n'+R.sub('',open('/tmp/gr-osmosdr-20170923-48927-sajrt8/apps/osmocom_siggen','r').read()))"
[ 19%] Generating __init__.pyo
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/python && /usr/local/bin/python2 -O /tmp/gr-osmosdr-20170923-48927-sajrt8/build/python_compile_helper.py /tmp/gr-osmosdr-20170923-48927-sajrt8/python/__init__.py /tmp/gr-osmosdr-20170923-48927-sajrt8/build/python/__init__.pyo
[ 21%] Generating osmosdr_sink.xml
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/grc && /usr/local/bin/python2 /tmp/gr-osmosdr-20170923-48927-sajrt8/grc/gen_osmosdr_blocks.py /tmp/gr-osmosdr-20170923-48927-sajrt8/build/grc/osmosdr_sink.xml
[ 23%] Building CXX object swig/CMakeFiles/_osmosdr_swig_swig_tag.dir/_osmosdr_swig_swig_tag.cpp.o
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DUSE_SSE2 -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig -I/tmp/gr-osmosdr-20170923-48927-sajrt8/swig -I/usr/local/include/gnuradio/swig -I/usr/include/python2.7  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/_osmosdr_swig_swig_tag.dir/_osmosdr_swig_swig_tag.cpp.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig/_osmosdr_swig_swig_tag.cpp
[ 26%] Shebangin osmocom_siggen_nogui
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/apps && /usr/local/bin/python2 -c "import re; R=re.compile('^#!.*\$\\n',flags=re.MULTILINE); open('/tmp/gr-osmosdr-20170923-48927-sajrt8/build/apps/osmocom_siggen_nogui.exe','w').write('#!/usr/local/bin/python2\\n'+R.sub('',open('/tmp/gr-osmosdr-20170923-48927-sajrt8/apps/osmocom_siggen_nogui','r').read()))"
[ 26%] Built target pygen_apps_0ee39
[ 28%] Shebangin osmocom_spectrum_sense
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/apps && /usr/local/bin/python2 -c "import re; R=re.compile('^#!.*\$\\n',flags=re.MULTILINE); open('/tmp/gr-osmosdr-20170923-48927-sajrt8/build/apps/osmocom_spectrum_sense.exe','w').write('#!/usr/local/bin/python2\\n'+R.sub('',open('/tmp/gr-osmosdr-20170923-48927-sajrt8/apps/osmocom_spectrum_sense','r').read()))"
[ 28%] Built target pygen_python_3fe35
[ 28%] Built target pygen_apps_bb0bd
[ 30%] Linking CXX executable _osmosdr_swig_swig_tag
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig && /usr/local/Cellar/cmake/3.9.3_1/bin/cmake -E cmake_link_script CMakeFiles/_osmosdr_swig_swig_tag.dir/link.txt --verbose=1
/usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -Wl,-search_paths_first -Wl,-headerpad_max_install_names  CMakeFiles/_osmosdr_swig_swig_tag.dir/_osmosdr_swig_swig_tag.cpp.o  -o _osmosdr_swig_swig_tag 
[ 30%] Built target _osmosdr_swig_swig_tag
[ 30%] Built target osmosdr_grc_xml_blocks
make -f swig/CMakeFiles/osmosdr_swig_swig_2d0df.dir/build.make swig/CMakeFiles/osmosdr_swig_swig_2d0df.dir/depend
[ 33%] Generating osmosdr_swig.tag
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig && ./_osmosdr_swig_swig_tag
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig && /usr/local/Cellar/cmake/3.9.3_1/bin/cmake -E touch /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig/osmosdr_swig.tag
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig && /usr/local/Cellar/cmake/3.9.3_1/bin/cmake -E copy /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig/osmosdr_swig_swig_2d0df.cpp.in /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig/osmosdr_swig_swig_2d0df.cpp
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build && /usr/local/Cellar/cmake/3.9.3_1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/gr-osmosdr-20170923-48927-sajrt8 /tmp/gr-osmosdr-20170923-48927-sajrt8/swig /tmp/gr-osmosdr-20170923-48927-sajrt8/build /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig/CMakeFiles/osmosdr_swig_swig_2d0df.dir/DependInfo.cmake --color=
Scanning dependencies of target osmosdr_swig_swig_2d0df
make -f swig/CMakeFiles/osmosdr_swig_swig_2d0df.dir/build.make swig/CMakeFiles/osmosdr_swig_swig_2d0df.dir/build
[ 35%] Building CXX object swig/CMakeFiles/osmosdr_swig_swig_2d0df.dir/osmosdr_swig_swig_2d0df.cpp.o
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DUSE_SSE2 -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig -I/tmp/gr-osmosdr-20170923-48927-sajrt8/swig -I/usr/local/include/gnuradio/swig -I/usr/include/python2.7  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/osmosdr_swig_swig_2d0df.dir/osmosdr_swig_swig_2d0df.cpp.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig/osmosdr_swig_swig_2d0df.cpp
[ 38%] Linking CXX executable osmosdr_swig_swig_2d0df
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig && /usr/local/Cellar/cmake/3.9.3_1/bin/cmake -E cmake_link_script CMakeFiles/osmosdr_swig_swig_2d0df.dir/link.txt --verbose=1
/usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -Wl,-search_paths_first -Wl,-headerpad_max_install_names  CMakeFiles/osmosdr_swig_swig_2d0df.dir/osmosdr_swig_swig_2d0df.cpp.o  -o osmosdr_swig_swig_2d0df 
Swig source
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig && /usr/local/Cellar/cmake/3.9.3_1/bin/cmake -E make_directory /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig && /usr/local/bin/swig -python -fvirtual -modern -keyword -w511 -module osmosdr_swig -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig -I/tmp/gr-osmosdr-20170923-48927-sajrt8/swig -I/usr/local/include/gnuradio/swig -I/usr/include/python2.7 -I/usr/include/python2.7 -outdir /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig -c++ -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig -I/tmp/gr-osmosdr-20170923-48927-sajrt8/swig -I/usr/local/include/gnuradio/swig -I/usr/include/python2.7 -I/usr/include/python2.7 -o /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig/osmosdr_swigPYTHON_wrap.cxx /tmp/gr-osmosdr-20170923-48927-sajrt8/swig/osmosdr_swig.i
Scanning dependencies of target gnuradio-osmosdr
make -f lib/CMakeFiles/gnuradio-osmosdr.dir/build.make lib/CMakeFiles/gnuradio-osmosdr.dir/build
[ 40%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/ranges.cc.o
[ 42%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/sink_impl.cc.o
[ 45%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/source_impl.cc.o
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/fcd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rfspace -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/redpitaya  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -fPIC   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/ranges.cc.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/lib/ranges.cc
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/fcd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rfspace -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/redpitaya  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -fPIC   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/sink_impl.cc.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/lib/sink_impl.cc
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/fcd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rfspace -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/redpitaya  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -fPIC   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/source_impl.cc.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/lib/source_impl.cc
[ 47%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/device.cc.o
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/fcd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rfspace -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/redpitaya  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -fPIC   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/device.cc.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/lib/device.cc
[ 50%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/time_spec.cc.o
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -DHAVE_MACH_ABSOLUTE_TIME -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/fcd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rfspace -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/redpitaya  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -fPIC   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/time_spec.cc.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/lib/time_spec.cc
[ 52%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/fcd/fcd_source_c.cc.o
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/fcd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rfspace -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/redpitaya  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -fPIC   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/fcd/fcd_source_c.cc.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/lib/fcd/fcd_source_c.cc
[ 54%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_source_c.cc.o
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/fcd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rfspace -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/redpitaya  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -fPIC   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/file/file_source_c.cc.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file/file_source_c.cc
[ 57%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_sink_c.cc.o
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/fcd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rfspace -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/redpitaya  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -fPIC   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/file/file_sink_c.cc.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file/file_sink_c.cc
[ 59%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/fcd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rfspace -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/redpitaya  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -fPIC   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl/rtl_source_c.cc
[ 61%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_c.cc.o
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/fcd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rfspace -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/redpitaya  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -fPIC   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_c.cc.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp/rtl_tcp_source_c.cc
[ 64%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_sink_c.cc.o
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/fcd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rfspace -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/redpitaya  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -fPIC   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_sink_c.cc.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd/uhd_sink_c.cc
[ 66%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_source_c.cc.o
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/fcd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rfspace -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/redpitaya  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -fPIC   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_source_c.cc.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd/uhd_source_c.cc
[ 69%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_source_c.cc.o
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/fcd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rfspace -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/redpitaya  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -fPIC   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_source_c.cc.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf/hackrf_source_c.cc
[ 71%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_sink_c.cc.o
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/fcd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rfspace -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/redpitaya  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -fPIC   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_sink_c.cc.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf/hackrf_sink_c.cc
[ 71%] Built target osmosdr_swig_swig_2d0df
[ 73%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rfspace/rfspace_source_c.cc.o
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/fcd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rfspace -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/redpitaya  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -fPIC   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/rfspace/rfspace_source_c.cc.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rfspace/rfspace_source_c.cc
make -f swig/CMakeFiles/pygen_swig_b278a.dir/build.make swig/CMakeFiles/pygen_swig_b278a.dir/depend
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build && /usr/local/Cellar/cmake/3.9.3_1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/gr-osmosdr-20170923-48927-sajrt8 /tmp/gr-osmosdr-20170923-48927-sajrt8/swig /tmp/gr-osmosdr-20170923-48927-sajrt8/build /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig/CMakeFiles/pygen_swig_b278a.dir/DependInfo.cmake --color=
Scanning dependencies of target pygen_swig_b278a
make -f swig/CMakeFiles/pygen_swig_b278a.dir/build.make swig/CMakeFiles/pygen_swig_b278a.dir/build
[ 76%] Generating osmosdr_swig.pyc
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig && /usr/local/bin/python2 /tmp/gr-osmosdr-20170923-48927-sajrt8/build/python_compile_helper.py /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig/osmosdr_swig.py /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig/osmosdr_swig.pyc
[ 78%] Generating osmosdr_swig.pyo
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig && /usr/local/bin/python2 -O /tmp/gr-osmosdr-20170923-48927-sajrt8/build/python_compile_helper.py /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig/osmosdr_swig.py /tmp/gr-osmosdr-20170923-48927-sajrt8/build/swig/osmosdr_swig.pyo
[ 80%] Built target pygen_swig_b278a
[ 83%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_source_c.cc.o
cd /tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DBOOST_ALL_DYN_LINK -DHAVE_CONFIG_H=1 -DHAVE_FCD=1 -DLIBHACKRF_HAVE_DEVICE_LIST -DUSE_SSE2 -Dgnuradio_osmosdr_EXPORTS -I/tmp/gr-osmosdr-20170923-48927-sajrt8/build/lib -I/tmp/gr-osmosdr-20170923-48927-sajrt8/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib -I/usr/local/include -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/fcd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/file -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/uhd -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/hackrf -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rfspace -I/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/redpitaya  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.12 -fPIC   -Wall -Wextra -Wno-unused-parameter -Wsign-compare -fvisibility=hidden -fvisibility-inlines-hidden -msse2 -o CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_source_c.cc.o -c /tmp/gr-osmosdr-20170923-48927-sajrt8/lib/redpitaya/redpitaya_source_c.cc
/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp/rtl_tcp_source_c.cc:301:9: error: expected expression
  cmd = { 0x09, htonl(direct_samp) };
        ^
/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp/rtl_tcp_source_c.cc:307:9: error: expected expression
  cmd = { 0x0a, htonl(offset_tune) };
        ^
/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp/rtl_tcp_source_c.cc:311:9: error: expected expression
  cmd = { 0x0e, htonl(bias_tee) };
        ^
/tmp/gr-osmosdr-20170923-48927-sajrt8/lib/rtl_tcp/rtl_tcp_source_c.cc:570:9: error: expected expression
  cmd = { 0x08, htonl(automatic) };
        ^
4 errors generated.
make[2]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_c.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
make: *** [all] Error 2

HOMEBREW_VERSION: 1.3.3
ORIGIN: https://github.com/Homebrew/brew
HEAD: 05bb3532fc3f0d723a8e8af1605c3f8080051e78
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 7d86da6a4cb963419da46890224a86ce1a66ac02
Core tap last commit: 5 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit kabylake
Homebrew Ruby: 2.0.0-p648
Clang: 9.0 build 900
Git: 2.13.5 => /Library/Developer/CommandLineTools/usr/bin/git
Perl: /usr/bin/perl
Python: /usr/local/opt/python/libexec/bin/python => /usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: N/A
macOS: 10.12.6-x86_64
Xcode: 9.0
CLT: 9.0.0.0.1.1504363082
X11: N/A

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/python3/Frameworks
MACOSX_DEPLOYMENT_TARGET: 10.12
PKG_CONFIG_PATH: /usr/local/opt/fftw/lib/pkgconfig:/usr/local/opt/gsl/lib/pkgconfig:/usr/local/opt/zeromq/lib/pkgconfig:/usr/local/opt/libusb/lib/pkgconfig:/usr/local/opt/uhd/lib/pkgconfig:/usr/local/opt/portaudio/lib/pkgconfig:/usr/local/opt/gnuradio/lib/pkgconfig:/usr/local/opt/rtlsdr/lib/pkgconfig:/usr/local/opt/python3/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.12
ACLOCAL_PATH: /usr/local/share/aclocal

Make errors on Mac OS Sierra using brew

I get strange compiler errors on Mac Os Sierra on following this tutorial : https://github.com/andresv/homebrew-gnuradio

justin$ brew install gr-osmosdr gr-baz --HEAD
==> Installing gr-osmosdr from andresv/gnuradio
==> Cloning git://git.osmocom.org/gr-osmosdr
Updating /Users/justin/Library/Caches/Homebrew/gr-osmosdr--git
==> Checking out branch master
Warning: Calling Formula.factory is deprecated!
Use Formulary.factory instead.
/usr/local/Homebrew/Library/Taps/andresv/homebrew-gnuradio/gr-osmosdr.rb:20:in `python_path'
Please report this to the andresv/gnuradio tap!

==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CX
==> make
Last 15 lines from /Users/justin/Library/Logs/Homebrew/gr-osmosdr/02.make:
cmd = { 0x09, htonl(direct_samp) };
^
/tmp/gr-osmosdr-20170622-14519-1e6x46o/lib/rtl_tcp/rtl_tcp_source_c.cc:307:9: error: expected expression
cmd = { 0x0a, htonl(offset_tune) };
^
/tmp/gr-osmosdr-20170622-14519-1e6x46o/lib/rtl_tcp/rtl_tcp_source_c.cc:311:9: error: expected expression
cmd = { 0x0e, htonl(bias_tee) };
^
/tmp/gr-osmosdr-20170622-14519-1e6x46o/lib/rtl_tcp/rtl_tcp_source_c.cc:570:9: error: expected expression
cmd = { 0x08, htonl(automatic) };
^
4 errors generated.
make[2]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_c.cc.o] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/andresv/homebrew-gnuradio/issues

These open issues may also help:
gr-osmosdr make error [Sierra 10.12.3] #10
build justin$

I honestly have no clue why this happens and am wondering if it's about something i have been doing wrong (had some probs with cheetah.. with python3 and had to come back to 2.7.13) or if this is a platform problem..

Help would greatly aprreciated

GQRX freeze after 1 sec, Yosemite

Hi,
i try your package gqrx, i am new to sdr radio, but i can't find with google a hind to get it running ;( may you can.

Yosemite 10.10.1
~ โžญ rtl_test
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001

i can't use with rtl_tcp nor direct via device

regards,

Marcel

Possible fail with OSX El Capitan

hi there!

pip install https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.2.1/matplotlib-1.2.1.tar.gz

may fail on El Capitan

first with:

src/ft2font.h:16:10: fatal error: 'ft2build.h' file not found

or later with:

src/backend_agg.cpp:2050:15: error: use of undeclared identifier 'npy_PyFile_Dup'
    if ((fp = npy_PyFile_Dup(py_file, (char *)"wb")))

src/backend_agg.cpp:2054:13: error: use of undeclared identifier 'npy_PyFile_DupClose'
        npy_PyFile_DupClose(py_file, fp);

src/backend_agg.cpp:2064:9: error: use of undeclared identifier 'npy_PyFile_DupClose'
        npy_PyFile_DupClose(py_file, fp);

solution for the first issue is to amend PKG_CONFIG_PATH:

export PKG_CONFIG_PATH="/opt/X11/lib/pkgconfig"

solution for the second issue is upgrade to newer version on matplotlib:

pip install https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.5.1/matplotlib-1.5.1.tar.gz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.