Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pothos not running on MacOS Sierra 10.12 #152

Open
mtossain opened this issue Jun 29, 2017 · 12 comments
Open

Pothos not running on MacOS Sierra 10.12 #152

mtossain opened this issue Jun 29, 2017 · 12 comments

Comments

@mtossain
Copy link

Dear all,

I tried to make Pothos run on MacOS with LimeSDR, but without any success.

  1. I installed everything according to the instructions on the build page using brew.

  2. I can run PothosGUI, but then when I run a simple example, the plotters do not show up... nothing happens

  3. I try to run a simple python example and then I get the error that SoapySDR module is not found...

  4. I use Anaconda python, and it seems that the SoapySDR is not in the path or something. I tried to install with the python3 flag, but that did not help either...

Can anybody help?

@guruofquality
Copy link
Contributor

guruofquality commented Jun 29, 2017

the plotters do not show up

Does this help?
https://github.com/pothosware/pothos-gui/wiki/Tutorial#insert-graphical-widget

I try to run a simple python example and then I get the error that SoapySDR module is not found...

I think it would help to know where files are installed, you may just need to set the PYTHONPATH

Also what does SoapySDRUtil --info show

@mtossain
Copy link
Author

image
I could add the spectogram to the block diagram, but when activating nothing happens...

Here the output of SaopySDRUtil:
SoapySDRUtil --info
######################################################

Soapy SDR -- the SDR abstraction library

######################################################

Lib Version: v0.6.0-release
API Version: v0.6.0
ABI Version: v0.6
Install root: /usr/local
Search path: /usr/local/lib/SoapySDR/modules0.6
Module found: /usr/local/lib/SoapySDR/modules0.6/libHackRFSupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6/libLMS7Support.so
Module found: /usr/local/lib/SoapySDR/modules0.6/libRedPitaya.so
Module found: /usr/local/lib/SoapySDR/modules0.6/libremoteSupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6/librtlsdrSupport.so
Module found: /usr/local/lib/SoapySDR/modules0.6/libuhdSupport.so
Loading modules... Mac OS; Clang version 8.1.0 (clang-802.0.41); Boost_106400; UHD_003.010.000.000-0-unknown

done
Available factories...hackrf, lime, null, redpitaya, remote, rtlsdr, uhd

Output of find;

SoapySDRUtil --find
######################################################

Soapy SDR -- the SDR abstraction library

######################################################

Mac OS; Clang version 8.1.0 (clang-802.0.41); Boost_106400; UHD_003.010.000.000-0-unknown

Found device 0
addr = 1d50:6108
driver = lime
label = LimeSDR-USB [USB 3.0] 9061C02CD1709
media = USB 3.0
module = STREAM
name = LimeSDR-USB
serial = 0009061C02CD1709

But then output of soapy power:

soapy_power -f 87.0M:108.0M -B 10.0k -T 1.0 -d -r 2560000.0 -p 0 -F soapy_power_bin --output-fd 15 -g 37.0 -c --even --fft-window boxcar --remove-dc
Traceback (most recent call last):
File "/Applications/Anaconda3/anaconda/bin/soapy_power", line 7, in
from soapypower.main import main
File "/Applications/Anaconda3/anaconda/lib/python3.5/site-packages/soapypower/main.py", line 5, in
import simplesoapy
File "/Applications/Anaconda3/anaconda/lib/python3.5/site-packages/simplesoapy.py", line 5, in
import SoapySDR
ImportError: No module named 'SoapySDR'

@guruofquality
Copy link
Contributor

I could add the spectogram to the block diagram, but when activating nothing happens...

It looks the same for me. 500e3 is at nyquist when the sample rate is 1e6, so the tone isnt going to be on the very edge of the plot

as far as the python, can you show the output of brew install with verbose? brew install soapysdr --verbose I think. I'm curious where the modules are getting installed.

Also, can you try --with-python3? brew install soapysdr --with-python3 https://github.com/pothosware/homebrew-pothos/wiki#python3-support

@mtossain
Copy link
Author

dear guru
managed to get the pothos working with the graph... now i need to find the proper Limesdr settings... i did not know that after adding the block, we also need to add the graph...

for the soapy, I did actually as on the mac install page, with using brew install soapysdr --with-python3
but then it appears that still 2.7 is used for the soapy library...
image

@guruofquality
Copy link
Contributor

Can you attach the output of brew install soapysdr --with-python3 --verbose I dont know why its not finding python3, so the build verbose should explain that.

@mtossain
Copy link
Author

brew install soapysdr --with-python3 -verbose
==> Installing soapysdr from pothosware/pothos
==> Downloading https://github.com/pothosware/SoapySDR/archive/soapy-sdr-0.6.0.tar.gz
Already downloaded: /Users/micheltossaint/Library/Caches/Homebrew/soapysdr-0.6.0.tar.gz
==> Verifying soapysdr-0.6.0.tar.gz checksum
tar xzf /Users/micheltossaint/Library/Caches/Homebrew/soapysdr-0.6.0.tar.gz
==> cmake .. -DUSE_PYTHON_CONFIG=ON -DENABLE_PYTHON3=ON -DSOAPY_SDR_EXTVER=release -DSOAPY_SDR_ROOT='/usr/local' -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/soapysdr/0.6.0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev
-- The C compiler identification is AppleClang 8.1.0.8020042
-- The CXX compiler identification is AppleClang 8.1.0.8020042
-- Check for working C compiler: /usr/local/Homebrew/Library/Homebrew/shims/super/clang
-- Check for working C compiler: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/Homebrew/Library/Homebrew/shims/super/clang++
-- Check for working CXX compiler: /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)

-- #############################################
-- ## Begin configuration for Python support...
-- #############################################
-- Enabling optional Python bindings if possible...
-- Found SWIG: /usr/local/bin/swig (found version "3.0.12")
-- SWIG_FOUND: TRUE - 3.0.12
-- Found PythonInterp: /usr/local/bin/python (found version "2.7.13")
-- PYTHONINTERP_FOUND: TRUE - 2.7.13
-- PYTHON_EXECUTABLE: /usr/local/bin/python
-- PYTHON_INSTALL_DIR: ${prefix}/lib/python2.7/site-packages
-- PYTHONLIBS_FOUND: TRUE - 2.7.13
-- PYTHON_INCLUDE_DIRS: /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7;/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7
-- PYTHON_LIBRARIES: -L/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -lpython2.7 -ldl -framework CoreFoundation
-- Performing Test SIZE_T_IS_UNSIGNED_INT
-- Performing Test SIZE_T_IS_UNSIGNED_INT - Failed
-- CMAKE_SWIG_FLAGS=-c++;-threads

-- #############################################
-- ## Begin configuration for Python3 support...
-- #############################################
-- Enabling optional Python3 bindings if possible...
-- SWIG_FOUND: TRUE - 3.0.12
-- Found Python3Interp: /usr/local/bin/python3
-- Could NOT find Python3InterpDbg (missing: PYTHON3_DBG_EXECUTABLE)
-- PYTHON3INTERP_FOUND: TRUE
-- PYTHON3_EXECUTABLE: /usr/local/bin/python3
-- PYTHON3_INSTALL_DIR: ${prefix}/lib/python3.6/site-packages
-- Found Python3Libs: -L/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/config-3.6m-darwin -lpython3.6m -ldl -framework CoreFoundation
-- PYTHON3LIBS_FOUND: TRUE
-- PYTHON3_INCLUDE_DIRS: /usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/include/python3.6m;/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/include/python3.6m
-- PYTHON3_LIBRARIES: -L/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/config-3.6m-darwin -lpython3.6m -ldl -framework CoreFoundation
-- CMAKE_SWIG_FLAGS=-c++;-threads

-- ######################################################
-- ## SoapySDR enabled features
-- ######################################################

  • Library, runtime library v0.6.0-release
  • Tests, library unit tests
  • Python, python bindings v2.7.13
  • Python3, python3 bindings

-- ######################################################
-- ## SoapySDR disabled features
-- ######################################################

  • Docs, doxygen documentation

-- SoapySDR version: v0.6.0-release
-- ABI/so version: v0.6
-- Install prefix: /usr/local/Cellar/soapysdr/0.6.0
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build
==> make install
/usr/local/Cellar/cmake/3.8.2/bin/cmake -H/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0 -B/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_progress_start /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/CMakeFiles /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f lib/CMakeFiles/SoapySDR.dir/build.make lib/CMakeFiles/SoapySDR.dir/depend
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0 /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib/CMakeFiles/SoapySDR.dir/DependInfo.cmake --color=
Scanning dependencies of target SoapySDR
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f lib/CMakeFiles/SoapySDR.dir/build.make lib/CMakeFiles/SoapySDR.dir/build
[ 16%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Logger.cpp.o
[ 13%] Building CXX object lib/CMakeFiles/SoapySDR.dir/NullDevice.cpp.o
[ 13%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Device.cpp.o
[ 16%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Factory.cpp.o
[ 16%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Types.cpp.o
[ 16%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Registry.cpp.o
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/Logger.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib/Logger.cpp
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/NullDevice.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib/NullDevice.cpp
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/Types.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib/Types.cpp
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/Registry.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib/Registry.cpp
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/Factory.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib/Factory.cpp
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/Device.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib/Device.cpp
[ 19%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Errors.cpp.o
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/Errors.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib/Errors.cpp
[ 22%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Formats.cpp.o
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/Formats.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib/Formats.cpp
[ 25%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Modules.cpp.o
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/Modules.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib/Modules.cpp
[ 27%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Version.cpp.o
[ 30%] Building CXX object lib/CMakeFiles/SoapySDR.dir/TypesC.cpp.o
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/TypesC.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib/TypesC.cpp
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/Version.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib/Version.cpp
[ 33%] Building CXX object lib/CMakeFiles/SoapySDR.dir/ModulesC.cpp.o
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/ModulesC.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib/ModulesC.cpp
[ 36%] Building CXX object lib/CMakeFiles/SoapySDR.dir/VersionC.cpp.o
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/VersionC.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib/VersionC.cpp
[ 38%] Building CXX object lib/CMakeFiles/SoapySDR.dir/DeviceC.cpp.o
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/DeviceC.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib/DeviceC.cpp
[ 41%] Building CXX object lib/CMakeFiles/SoapySDR.dir/FactoryC.cpp.o
[ 44%] Building CXX object lib/CMakeFiles/SoapySDR.dir/LoggerC.cpp.o
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/FactoryC.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib/FactoryC.cpp
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/LoggerC.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib/LoggerC.cpp
[ 47%] Building CXX object lib/CMakeFiles/SoapySDR.dir/TimeC.cpp.o
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/TimeC.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib/TimeC.cpp
[ 50%] Building CXX object lib/CMakeFiles/SoapySDR.dir/ErrorsC.cpp.o
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/ErrorsC.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib/ErrorsC.cpp
[ 52%] Building CXX object lib/CMakeFiles/SoapySDR.dir/FormatsC.cpp.o
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DSOAPY_SDR_DLL_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/SoapySDR.dir/FormatsC.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/lib/FormatsC.cpp
[ 55%] Linking CXX shared library libSoapySDR.dylib
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_link_script CMakeFiles/SoapySDR.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 -flat_namespace -compatibility_version 0.6.0 -current_version 0.6.0 -o libSoapySDR.0.6.0.dylib -install_name @rpath/libSoapySDR.0.6.dylib CMakeFiles/SoapySDR.dir/Device.cpp.o CMakeFiles/SoapySDR.dir/Factory.cpp.o CMakeFiles/SoapySDR.dir/Registry.cpp.o CMakeFiles/SoapySDR.dir/Types.cpp.o CMakeFiles/SoapySDR.dir/NullDevice.cpp.o CMakeFiles/SoapySDR.dir/Logger.cpp.o CMakeFiles/SoapySDR.dir/Errors.cpp.o CMakeFiles/SoapySDR.dir/Formats.cpp.o CMakeFiles/SoapySDR.dir/Modules.cpp.o CMakeFiles/SoapySDR.dir/Version.cpp.o CMakeFiles/SoapySDR.dir/TypesC.cpp.o CMakeFiles/SoapySDR.dir/ModulesC.cpp.o CMakeFiles/SoapySDR.dir/VersionC.cpp.o CMakeFiles/SoapySDR.dir/DeviceC.cpp.o CMakeFiles/SoapySDR.dir/FactoryC.cpp.o CMakeFiles/SoapySDR.dir/LoggerC.cpp.o CMakeFiles/SoapySDR.dir/TimeC.cpp.o CMakeFiles/SoapySDR.dir/ErrorsC.cpp.o CMakeFiles/SoapySDR.dir/FormatsC.cpp.o
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_symlink_library libSoapySDR.0.6.0.dylib libSoapySDR.0.6.dylib libSoapySDR.dylib
[ 55%] Built target SoapySDR
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f apps/CMakeFiles/SoapySDRUtil.dir/build.make apps/CMakeFiles/SoapySDRUtil.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f tests/CMakeFiles/TestKwargsMarkup.dir/build.make tests/CMakeFiles/TestKwargsMarkup.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f tests/CMakeFiles/TestFormatParser.dir/build.make tests/CMakeFiles/TestFormatParser.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f tests/CMakeFiles/TestTimeConversion.dir/build.make tests/CMakeFiles/TestTimeConversion.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f python/CMakeFiles/_SoapySDR.dir/build.make python/CMakeFiles/_SoapySDR.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f python3/CMakeFiles/_SoapySDR3.dir/build.make python3/CMakeFiles/_SoapySDR3.dir/depend
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0 /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/apps /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/apps /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/apps/CMakeFiles/SoapySDRUtil.dir/DependInfo.cmake --color=
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0 /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/tests /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/tests /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/tests/CMakeFiles/TestFormatParser.dir/DependInfo.cmake --color=
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0 /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/tests /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/tests /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/tests/CMakeFiles/TestKwargsMarkup.dir/DependInfo.cmake --color=
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0 /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/tests /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/tests /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/tests/CMakeFiles/TestTimeConversion.dir/DependInfo.cmake --color=
[ 61%] Swig source
[ 61%] Swig source
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python3 && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E make_directory /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python3
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E make_directory /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python
Scanning dependencies of target TestKwargsMarkup
Scanning dependencies of target TestFormatParser
Scanning dependencies of target TestTimeConversion
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f tests/CMakeFiles/TestTimeConversion.dir/build.make tests/CMakeFiles/TestTimeConversion.dir/build
Scanning dependencies of target SoapySDRUtil
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f tests/CMakeFiles/TestFormatParser.dir/build.make tests/CMakeFiles/TestFormatParser.dir/build
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f tests/CMakeFiles/TestKwargsMarkup.dir/build.make tests/CMakeFiles/TestKwargsMarkup.dir/build
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f apps/CMakeFiles/SoapySDRUtil.dir/build.make apps/CMakeFiles/SoapySDRUtil.dir/build
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python && /usr/local/bin/swig -python -c++ -threads -outdir /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python -c++ -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -I/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7 -o /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python/SoapySDRPYTHON_wrap.cxx /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/python/SoapySDR.i
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python3 && /usr/local/bin/swig -python -c++ -threads -outdir /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python3 -c++ -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -I/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -o /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python3/SoapySDRPYTHON_wrap.cxx /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python3/SoapySDR.i
[ 66%] Building CXX object tests/CMakeFiles/TestKwargsMarkup.dir/TestKwargsMarkup.cpp.o
[ 66%] Building CXX object tests/CMakeFiles/TestFormatParser.dir/TestFormatParser.cpp.o
[ 69%] Building CXX object tests/CMakeFiles/TestTimeConversion.dir/TestTimeConversion.cpp.o
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/tests && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -std=gnu++11 -o CMakeFiles/TestKwargsMarkup.dir/TestKwargsMarkup.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/tests/TestKwargsMarkup.cpp
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/tests && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -std=gnu++11 -o CMakeFiles/TestFormatParser.dir/TestFormatParser.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/tests/TestFormatParser.cpp
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/tests && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -std=gnu++11 -o CMakeFiles/TestTimeConversion.dir/TestTimeConversion.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/tests/TestTimeConversion.cpp
[ 75%] Building CXX object apps/CMakeFiles/SoapySDRUtil.dir/SoapySDRProbe.cpp.o
[ 75%] Building CXX object apps/CMakeFiles/SoapySDRUtil.dir/SoapySDRUtil.cpp.o
[ 77%] Building CXX object apps/CMakeFiles/SoapySDRUtil.dir/SoapyRateTest.cpp.o
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/apps && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/apps/../include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -std=gnu++11 -o CMakeFiles/SoapySDRUtil.dir/SoapySDRProbe.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/apps/SoapySDRProbe.cpp
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/apps && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/apps/../include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -std=gnu++11 -o CMakeFiles/SoapySDRUtil.dir/SoapySDRUtil.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/apps/SoapySDRUtil.cpp
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/apps && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/apps/../include -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -std=gnu++11 -o CMakeFiles/SoapySDRUtil.dir/SoapyRateTest.cpp.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/apps/SoapyRateTest.cpp
[ 80%] Linking CXX executable TestTimeConversion
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/tests && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_link_script CMakeFiles/TestTimeConversion.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 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/TestTimeConversion.dir/TestTimeConversion.cpp.o -o TestTimeConversion -Wl,-rpath,/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib ../lib/libSoapySDR.0.6.0.dylib
[ 80%] Built target TestTimeConversion
[ 83%] Linking CXX executable TestFormatParser
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/tests && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_link_script CMakeFiles/TestFormatParser.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 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/TestFormatParser.dir/TestFormatParser.cpp.o -o TestFormatParser -Wl,-rpath,/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib ../lib/libSoapySDR.0.6.0.dylib
[ 83%] Built target TestFormatParser
[ 86%] Linking CXX executable TestKwargsMarkup
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/tests && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_link_script CMakeFiles/TestKwargsMarkup.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 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/TestKwargsMarkup.dir/TestKwargsMarkup.cpp.o -o TestKwargsMarkup -Wl,-rpath,/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib ../lib/libSoapySDR.0.6.0.dylib
[ 86%] Built target TestKwargsMarkup
[ 88%] Linking CXX executable SoapySDRUtil
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/apps && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_link_script CMakeFiles/SoapySDRUtil.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 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/SoapySDRUtil.dir/SoapySDRUtil.cpp.o CMakeFiles/SoapySDRUtil.dir/SoapySDRProbe.cpp.o CMakeFiles/SoapySDRUtil.dir/SoapyRateTest.cpp.o -o SoapySDRUtil -Wl,-rpath,/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib ../lib/libSoapySDR.0.6.0.dylib
[ 88%] Built target SoapySDRUtil
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0 /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/python /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python/CMakeFiles/_SoapySDR.dir/DependInfo.cmake --color=
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0 /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/python3 /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python3 /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python3/CMakeFiles/_SoapySDR3.dir/DependInfo.cmake --color=
Scanning dependencies of target _SoapySDR
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f python/CMakeFiles/_SoapySDR.dir/build.make python/CMakeFiles/_SoapySDR.dir/build
[ 91%] Building CXX object python/CMakeFiles/_SoapySDR.dir/SoapySDRPYTHON_wrap.cxx.o
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -D_SoapySDR_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -I/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/_SoapySDR.dir/SoapySDRPYTHON_wrap.cxx.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python/SoapySDRPYTHON_wrap.cxx
Scanning dependencies of target _SoapySDR3
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f python3/CMakeFiles/_SoapySDR3.dir/build.make python3/CMakeFiles/_SoapySDR3.dir/build
[ 94%] Building CXX object python3/CMakeFiles/_SoapySDR3.dir/SoapySDRPYTHON_wrap.cxx.o
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python3 && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -D_SoapySDR3_EXPORTS -I/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/include -I/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -std=gnu++11 -o CMakeFiles/_SoapySDR3.dir/SoapySDRPYTHON_wrap.cxx.o -c /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python3/SoapySDRPYTHON_wrap.cxx
[ 97%] Linking CXX shared module _SoapySDR.so
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python3 && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_link_script CMakeFiles/_SoapySDR3.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 -bundle -Wl,-headerpad_max_install_names -flat_namespace -o _SoapySDR.so CMakeFiles/_SoapySDR3.dir/SoapySDRPYTHON_wrap.cxx.o -Wl,-rpath,/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib ../lib/libSoapySDR.0.6.0.dylib -L/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/config-3.6m-darwin -lpython3.6m -ldl -framework CoreFoundation
[100%] Linking CXX shared module _SoapySDR.so
cd /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/python && /usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_link_script CMakeFiles/_SoapySDR.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 -bundle -Wl,-headerpad_max_install_names -flat_namespace -o _SoapySDR.so CMakeFiles/_SoapySDR.dir/SoapySDRPYTHON_wrap.cxx.o -Wl,-rpath,/tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/lib ../lib/libSoapySDR.0.6.0.dylib -L/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -lpython2.7 -ldl -framework CoreFoundation
[100%] Built target _SoapySDR3
[100%] Built target _SoapySDR
/usr/local/Cellar/cmake/3.8.2/bin/cmake -E cmake_progress_start /tmp/soapysdr-20170629-35837-17kbklp/SoapySDR-soapy-sdr-0.6.0/build/CMakeFiles 0
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 preinstall
make[1]: Nothing to be done for `preinstall'.
Install the project...
/usr/local/Cellar/cmake/3.8.2/bin/cmake -P cmake_install.cmake
-- Install configuration: "Release"
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/share/cmake/SoapySDR/SoapySDRConfig.cmake
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/share/cmake/SoapySDR/SoapySDRUtil.cmake
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/share/cmake/SoapySDR/SoapySDRConfigVersion.cmake
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Config.h
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Config.hpp
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Constants.h
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Device.h
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Device.hpp
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Errors.h
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Errors.hpp
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Formats.h
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Formats.hpp
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Logger.h
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Logger.hpp
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Modules.h
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Modules.hpp
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Registry.hpp
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Time.h
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Time.hpp
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Types.h
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Types.hpp
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Version.h
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/include/SoapySDR/Version.hpp
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/lib/libSoapySDR.0.6.0.dylib
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/lib/libSoapySDR.0.6.dylib
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/lib/libSoapySDR.dylib
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/lib/pkgconfig/SoapySDR.pc
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/bin/SoapySDRUtil
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/share/man/man1/SoapySDRUtil.1
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/lib/python2.7/site-packages/_SoapySDR.so
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/lib/python2.7/site-packages/SoapySDR.py
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/lib/python3.6/site-packages/_SoapySDR.so
-- Installing: /usr/local/Cellar/soapysdr/0.6.0/lib/python3.6/site-packages/SoapySDR.py
==> Cleaning
==> Finishing up
ln -s ../Cellar/soapysdr/0.6.0/bin/SoapySDRUtil SoapySDRUtil
ln -s ../Cellar/soapysdr/0.6.0/include/SoapySDR SoapySDR
ln -s ../../Cellar/soapysdr/0.6.0/share/cmake/SoapySDR SoapySDR
ln -s ../../../Cellar/soapysdr/0.6.0/share/man/man1/SoapySDRUtil.1 SoapySDRUtil.1
ln -s ../Cellar/soapysdr/0.6.0/lib/libSoapySDR.0.6.0.dylib libSoapySDR.0.6.0.dylib
ln -s ../Cellar/soapysdr/0.6.0/lib/libSoapySDR.0.6.dylib libSoapySDR.0.6.dylib
ln -s ../Cellar/soapysdr/0.6.0/lib/libSoapySDR.dylib libSoapySDR.dylib
ln -s ../../Cellar/soapysdr/0.6.0/lib/pkgconfig/SoapySDR.pc SoapySDR.pc
ln -s ../../../Cellar/soapysdr/0.6.0/lib/python2.7/site-packages/SoapySDR.py SoapySDR.py
ln -s ../../../Cellar/soapysdr/0.6.0/lib/python2.7/site-packages/_SoapySDR.so _SoapySDR.so
ln -s ../../../Cellar/soapysdr/0.6.0/lib/python3.6/site-packages/SoapySDR.py SoapySDR.py
ln -s ../../../Cellar/soapysdr/0.6.0/lib/python3.6/site-packages/_SoapySDR.so _SoapySDR.so
==> Summary
🍺 /usr/local/Cellar/soapysdr/0.6.0: 37 files, 2.4MB, built in 18 seconds

@mtossain
Copy link
Author

But i still get the same error...
soapy_power -f 87.0M:108.0M -B 10.0k -T 1.0 -d -r 2560000.0 -p 0 -F soapy_power_bin --output-fd 15 -g 37.0 -c --even --fft-window boxcar --remove-dc
Traceback (most recent call last):
File "/Applications/Anaconda3/anaconda/bin/soapy_power", line 7, in
from soapypower.main import main
File "/Applications/Anaconda3/anaconda/lib/python3.5/site-packages/soapypower/main.py", line 5, in
import simplesoapy
File "/Applications/Anaconda3/anaconda/lib/python3.5/site-packages/simplesoapy.py", line 5, in
import SoapySDR
ImportError: No module named 'SoapySDR'
17:56 micheltossaint@dhcp-10-176-21-201 /Users/micheltossaint

@mtossain
Copy link
Author

also tried to install soapy_power by pip, but same result:

pip install soapy_power
Collecting soapy_power
Using cached soapy_power-1.6.1.tar.gz
Collecting numpy (from soapy_power)
Downloading numpy-1.13.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (4.6MB)
100% |████████████████████████████████| 4.6MB 313kB/s
Collecting simplesoapy>=1.5.0 (from soapy_power)
Using cached SimpleSoapy-1.5.1.tar.gz
Collecting simplespectral (from soapy_power)
Using cached SimpleSpectral-1.0.0.tar.gz
Building wheels for collected packages: soapy-power, simplesoapy, simplespectral
Running setup.py bdist_wheel for soapy-power ... done
Stored in directory: /Users/micheltossaint/Library/Caches/pip/wheels/e7/16/b0/fd737ddf007f51312a1792701497ae03375a9c9c7b5d941ccc
Running setup.py bdist_wheel for simplesoapy ... done
Stored in directory: /Users/micheltossaint/Library/Caches/pip/wheels/55/78/c0/6f04abebd1b498a6d036e3c785224b630a97a055053695e3d5
Running setup.py bdist_wheel for simplespectral ... done
Stored in directory: /Users/micheltossaint/Library/Caches/pip/wheels/56/44/8b/eadd4aa7d6a8dfe5f6a33ab36b80c2af3e625fc9bb10605562
Successfully built soapy-power simplesoapy simplespectral
Installing collected packages: numpy, simplesoapy, simplespectral, soapy-power
Successfully installed numpy-1.13.0 simplesoapy-1.5.1 simplespectral-1.0.0 soapy-power-1.6.1
17:58 micheltossaint@dhcp-10-176-21-201 /Users/micheltossaint
% soapy_power -f 87.0M:108.0M -B 10.0k -T 1.0 -d -r 2560000.0 -p 0 -F soapy_power_bin --output-fd 15 -g 37.0 -c --even --fft-window boxcar --remove-dc
Traceback (most recent call last):
File "/Applications/Anaconda3/anaconda/bin/soapy_power", line 7, in
from soapypower.main import main
File "/Applications/Anaconda3/anaconda/lib/python3.5/site-packages/soapypower/main.py", line 5, in
import simplesoapy
File "/Applications/Anaconda3/anaconda/lib/python3.5/site-packages/simplesoapy.py", line 5, in
import SoapySDR
ImportError: No module named 'SoapySDR'
17:58 micheltossaint@dhcp-10-176-21-201 /Users/micheltossaint
%

@guruofquality
Copy link
Contributor

Looks like brew used python3.6 and this Anaconda3 is using python3.5. So these are two completely different installations of python. Can you install soapypower under the homebrew python environment instead?

@mtossain
Copy link
Author

thanks so much for your help!!!
how would i install soapypower with homebrew?

@guruofquality
Copy link
Contributor

No idea, but you probably have a lot of options:

  • is there an existing brew package for soapy power?
  • make a new brew package for soapy power
  • build soapy power from source against homebrew python environment
  • build soapysdr from source against anaconda3 python environment (you can point soapysdr to the plugins that brew installed for hardware support with SOAPY_SDR_PLUGIN_PATH)

If you figure it out, let us know, so it can be documented, thanks!

@mtossain
Copy link
Author

mtossain commented Jul 8, 2017

dear Josh

Tried to find out a bit further and found out this when installing SoapySDR from source:
image

It seems the python library is build by the compile, but it is not copied to any python library directory nor to the anaconda library directory. Could it be that there is a step missing in the build?

Thanks
Michel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants