Hi,

I understand but sourcing the setup_env.sh file isn't working for me
unfortunately at this time. Previously on a different machine this was what
seemed to have solved the issue.
I did use PyBOMBS for installation, this is the exact sequence of commands:
sudo pip install PyBOMBS
pybombs recipes add gr-recipes git+https://github.com/
gnuradio/gr-recipes.git
pybombs recipes add ettus git+https://github.com/
EttusResearch/ettus-pybombs.git
pybombs prefix init ~/rfnoc -R rfnoc
source ~/rfnoc/setup_env.sh

and gnuradio using apt-get install...

Thanks,
Vishwesh



On Mon, Dec 12, 2016 at 1:26 AM, Nicolas Cuervo <nicolas.cue...@ettus.com>
wrote:

> Hello Vishwesh,
>
> I believe that in this case it is only a matter of where the blocks are
> installed, and where grc is looking for them. When you install OOT modules
> (gr-ettus is itself an OOT module for RFNoC) it also has an installation
> path, where GRC is going to be looking for the blocks that are available,
> and the ones that are found are going to be listed there. I believe, from
> what you wrote in your email, that you are using PyBOMBS, and the PyBOMBS
> environment is really helpful in cases lake this one. Before setting up the
> environment it would be expected that the blocks are not found, as the
> enviromental variables that describe their location haven't been set. By
> sourcing the env, all the things that where installed with PyBOMBS are
> described with the environmental variables, and the the RFNoC blocks can be
> found.
>
> That is, you have to source your setup_env.sh every time that you want to
> use something from that given prefix. The reason why this is not done
> automatically (which is also the reason why it is not recommended to do
> so), is because you can set up multiple prefixes, each with a completely
> different configuration, which you can pull just by sourcing the
> setup_env.sh file.
>
> I hope this answers your question. Please let us know if further
> clarification is required.
>
> Cheers,
> -N
>
> On Mon, Dec 12, 2016 at 8:16 AM, Vishwesh Rege <vrege2...@gmail.com>
> wrote:
>
>> Hi,
>>
>> I'm unable to view RFNoC blocks in gnuradio-companion (in the block list
>> on the right side). Sometimes I can view them, under (unspecified) → uhd →
>> rfnoc but sometimes I can't for some reason. I have sourced
>> rfnoc/setup_env.sh which I believe had solved the problem previously. Does
>> anyone know the solution?
>>
>> Any suggestions appreciated. Thanks.
>>
>> Vishwesh
>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>>
>


-- 
Vishwesh Rege
+1 (858) 729-4157 <(858)%20729-4157> | vr...@ucsd.edu |
https://sites.google.com/site/vishweshrege
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to