Hi folks, I am just getting started GNU radio project -- running it on Mac OS X, El Capitan. I am trying to install gr-air-modes and ultimately end up getting an error when trying to run modes_rx:
modes_rx --help Traceback (most recent call last): File "/usr/local/bin/modes_rx", line 27, in <module> import air_modes ImportError: No module named air_modes
When I follow the build steps, this is what I get after running cmake:
`bash-3.2$ cmake ../
-- The CXX compiler identification is AppleClang 8.0.0.8000042
-- The C compiler identification is AppleClang 8.0.0.8000042
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Boost version: 1.59.0
-- Found the following Boost libraries:
-- date_time
-- program_options
-- filesystem
-- system
-- thread
-- chrono
-- atomic
-- Found PythonLibs: /usr/lib/libpython2.7.dylib (found suitable version "2.7.10", minimum required is "2")
-- Found PkgConfig: /opt/local/bin/pkg-config (found version "0.29.1")
Checking for GNU Radio Module: RUNTIME
-- Checking for module 'gnuradio-runtime'
-- Found gnuradio-runtime, version 3.7.10.1
INCLUDES=/opt/local/include
LIBS=/opt/local/lib/libgnuradio-runtime.dylib;/opt/local/lib/libgnuradio-pmt.dylib
-- Found GNURADIO_RUNTIME: /opt/local/lib/libgnuradio-runtime.dylib;/opt/local/lib/libgnuradio-pmt.dylib
GNURADIO_RUNTIME_FOUND = TRUE
-- Found PythonInterp: /opt/local/bin/python2.7 (found suitable version "2.7.12", minimum required is "2")
--
-- Checking for module SWIG
-- Found SWIG version 3.0.10.
-- Found SWIG: /opt/local/bin/swig
-- Found PythonLibs: /usr/lib/libpython2.7.dylib (found version "2.7.10")
-- Found PythonLibs: /usr/lib/libpython2.7.dylib (found suitable version "2.7.10", minimum required is "2")
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Failed
-- Found Doxygen: /opt/local/bin/doxygen (found version "1.8.10")
-- pyuic4 not found, not installing GUI application
-- Configuring done
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
--help-policy CMP0042" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
air_modes
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /Users/smigs/Desktop/itsRandom/Radio_projects/bistromath-gr-air-modes-3bad1f5/build
`
From reading prior posts it seems there is an issue with the PYTHONPATH. But trying all of the fixes from those prior posts I either still get a fatal error or the import error.
Please help. I'm running out of things to try. Thanks for your time
Hi folks, I am just getting started GNU radio project -- running it on Mac OS X, El Capitan. I am trying to install gr-air-modes and ultimately end up getting an error when trying to run modes_rx:
modes_rx --help Traceback (most recent call last): File "/usr/local/bin/modes_rx", line 27, in <module> import air_modes ImportError: No module named air_modes
When I follow the build steps, this is what I get after running cmake:
`bash-3.2$ cmake ../ -- The CXX compiler identification is AppleClang 8.0.0.8000042 -- The C compiler identification is AppleClang 8.0.0.8000042 -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Build type not specified: defaulting to release. -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE
-- Boost version: 1.59.0 -- Found the following Boost libraries: -- date_time -- program_options -- filesystem -- system -- thread -- chrono -- atomic -- Found PythonLibs: /usr/lib/libpython2.7.dylib (found suitable version "2.7.10", minimum required is "2") -- Found PkgConfig: /opt/local/bin/pkg-config (found version "0.29.1") Checking for GNU Radio Module: RUNTIME -- Checking for module 'gnuradio-runtime' -- Found gnuradio-runtime, version 3.7.10.1
LIBS=/opt/local/lib/libgnuradio-runtime.dylib;/opt/local/lib/libgnuradio-pmt.dylib -- Found GNURADIO_RUNTIME: /opt/local/lib/libgnuradio-runtime.dylib;/opt/local/lib/libgnuradio-pmt.dylib
GNURADIO_RUNTIME_FOUND = TRUE -- Found PythonInterp: /opt/local/bin/python2.7 (found suitable version "2.7.12", minimum required is "2") -- -- Checking for module SWIG -- Found SWIG version 3.0.10. -- Found SWIG: /opt/local/bin/swig
-- Found PythonLibs: /usr/lib/libpython2.7.dylib (found version "2.7.10") -- Found PythonLibs: /usr/lib/libpython2.7.dylib (found suitable version "2.7.10", minimum required is "2") -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Failed -- Found Doxygen: /opt/local/bin/doxygen (found version "1.8.10") -- pyuic4 not found, not installing GUI application -- Configuring done CMake Warning (dev): Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake --help-policy CMP0042" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
air_modes
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done -- Build files have been written to: /Users/smigs/Desktop/itsRandom/Radio_projects/bistromath-gr-air-modes-3bad1f5/build `
From reading prior posts it seems there is an issue with the PYTHONPATH. But trying all of the fixes from those prior posts I either still get a fatal error or the import error.
Please help. I'm running out of things to try. Thanks for your time
--Brian