discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Re: create-gnuradio-out-of-tree-project


From: bin zan
Subject: [Discuss-gnuradio] Re: create-gnuradio-out-of-tree-project
Date: Tue, 16 Mar 2010 15:32:13 -0400

Hi Eric,
    Thank you I got it.  I am also trying to study the c++ examples under ../gnuradio/usrp2/host/apps/... ( My objective is to write a channel switching apps in C++). However, when I run  ./rx_streaming_samples -f 2.45G, it doesn't output anything when I run ./tx_samples at the sender side ( I only see one c++ execute file looks like transmit something under that directory).  Please advise which files I should start with.           


Thank you,
Bin Zan
Winlab, Rutgers.

On Tue, Mar 16, 2010 at 1:36 PM, Eric Blossom <address@hidden> wrote:
On Thu, Mar 11, 2010 at 01:44:04PM -0500, bin zan wrote:
> Hi Eric,
>       I am trying to study the create-gnuradio-out-of-tree-project you leave
> to us last week. After I run ./configure ./make ./make install,  I still
> can't run the python file successfully. The errors are shown below.  Do you
> know what is the problem?
>
> address@hidden:~/BinZan/usrp2_oot/python$ ./qa_usrp2_oot.py
> Traceback (most recent call last):
>   File "./qa_usrp2_oot.py", line 24, in <module>
>     import usrp2_oot_swig
> ImportError: No module named usrp2_oot_swig
>
>
> Thanks,
> Bin Zan
> Winlab, Rutgers

Bin,

The QA code won't run unless you type

 $ make check

This has to do with how a bunch of environment varibles are
manipulated to allow us to test (QA) non-instatlled code.

You can use your new block after

 $ make install

but you'll need to ensure that your PYTHONPATH includes the path where
you installed the new code.  This is usually something like:

 $ export PYTHONPATH=<prefix>/lib/python<ver>/<site-or-dist>-packages

Eric



reply via email to

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