[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gnuradio-companion swig error?

From: Michael Dickens
Subject: Re: [Discuss-gnuradio] gnuradio-companion swig error?
Date: Sun, 26 Feb 2017 13:45:33 -0500

According to nabble, your original post has yet to be authorized. I'll
append it for completion.

So you're running on an older OS X box (10.8), using the libc++ hack for
older systems. That should be OK. Most folks I know who use it do it
with 10.6 or 10.7, but it should work on 10.8 too.

If you wanted gr-osmosdr without SoapySDR, just do "sudo port install
gr-osmosdr -soapysdr", and you'll gr-osmosdr with the rest of the
default variants included but without SoapySDR.

What does "port contents gr-osmosdr | grep _osmosdr_swig" return for
you? Hopefully the swig file is installed into
... if not, there's an issue ...

Can you attach the simple_am_rx.py script to a followup email so that we
can verify that it works for us?

Hope this is useful! - MLD

trying out gnuradio-companion 
followed a youtube tutorial for a simple am rcvr 

did not work, error as follows: 

Generating: '/Users/SDR/simple_am_rx.py' 

-u /Users/SDR/simple_am_rx.py 

Traceback (most recent call last): 
  File "/Users/SDR/simple_am_rx.py", line 33, in <module>
    import osmosdr 
  line 26, in <module>
    from osmosdr_swig import * 
  line 17, in <module>
    _osmosdr_swig = swig_import_helper() 
  line 16, in swig_import_helper 
    return importlib.import_module('_osmosdr_swig') 
  line 37, in import_module 
ImportError: No module named _osmosdr_swig 

macbookpro c2d 
mountain lion 10.8.5 
xQuartz 2.7.11 
XCode 4.6.3 
Macports 2.4.0 
rtl-sdr 20150608_1 

had to do the LibcxxOnOlder Systems: 

had to do gr-osmosdr portfile mod 
remove SoapySDR from dependencies 

had to do gqrx portfile mod 
set qtname     qt5 

sudo port installed swig 

any ideas?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]