Hi Ivan.
I forgot to mention:
Have a look at ~/.gnuradio/config.conf
There is a sectioo
[grc]
This section should contain something like
global_blocks_path = /usr/local/gnuradio/share/gnuradio/grc/blocks
local_blocks_path = /usr/local/oot3/share/gnuradio/grc/blocks
Instead of setting GRC_BLOCKS_PATH
you can set local_blocks_path which should be evaluated in both cases.
-- Volker
> Hi Volker!
> In order to see the local blocks in GRC, I also set $GRC_BLOCKS_PATH.
> Based on your suggestions, at the moment I added the following variable
> definitions in .bashrc:
> export GNURADIO_OOT_LOCAL_PATH=$HOME/workspace/gnuradio-oot
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GNURADIO_OOT_LOCAL_PATH/local/lib
> export
> PYTHONPATH=$PYTHONPATH:$GNURADIO_OOT_LOCAL_PATH/local/lib/python3.10/dist-packages
> export
> GRC_BLOCKS_PATH=$GRC_BLOCK_PATH:$GNURADIO_OOT_LOCAL_PATH/share/gnuradio/grc/blocks
> It works like a charm if I launch gnuradio-companion from terminal.
> The problem is that when I launch GRC from gnome shell, local blocks are
> not found.
> Why does launching GRC from gnome shell bypass $GRC_BLOCKS_PATH?
> Thanks for help.
> Ivan
>
> Il 14.03.2023 18:01 Volker Schroer ha scritto:
>
>> Hello!
>> You have to set LD_LIBRARY_PATH and PYTHONPATH accordingly.
>>
>> For example I install my oot's to /usr/local/oot and I set
>>
>> echo $LD_LIBRARY_PATH
>> /usr/local/gnuradio/lib64:/usr/local/volk/lib64:/usr/local/libiio/lib64:/usr/local/libad9361/lib:/usr/local/oot/lib64
>>
>> echo $PYTHONPATH
>> /usr/local/gnuradio/lib64/python3.11/site-packages/:/usr/local/oot/lib64/python3.11/site-packages/
>>
>> -- Volker
>>
>>
>> Am 14.03.23 um 16:46 schriebkrono86@tiscali.it <mailto:krono86@tiscali.it>:
>>> Hello guys! My aim is to setup a workstation with GNU Radio and a set
>>> of system-wide OOTs installed (managed by the administrator) to be
>>> used by all of the users, while still allowing the users to create
>>> their own OOTs for local experiments and install them in
>>> $HOME/local/. At the moment I installed GNU Radio on Ubuntu 22.04
>>> using apt; I know I can specify to cmake
>>> |-DCMAKE_INSTALL_PREFIX=$HOME/local.| How to get gnuradio aware with
>>> respect to the OOT modules locally installed? Thanks for help! Ivan
>>> VOUCHER CONNETTIVITÀ per P.IVA e PMI: internet a canone 0 per 48
>>> mesi. ATTIVA ORA
>>> https://casa.tiscali.it/promo/?u=https://promozioni.tiscali.it/voucher_business/ <https://casa.tiscali.it/promo/?u=https://promozioni.tiscali.it/voucher_business/> <https://casa.tiscali.it/promo/?u=https://promozioni.tiscali.it/voucher_business/?r=TS00000A00025&dm=link&p=tiscali&utm_source=tiscali&utm_medium=link&utm_campaign=voucherbusiness&wt_np=tiscali.link.footermail.voucherbusiness.btb <https://casa.tiscali.it/promo/?u=https://promozioni.tiscali.it/voucher_business/?r=TS00000A00025&dm=link&p=tiscali&utm_source=tiscali&utm_medium=link&utm_campaign=voucherbusiness&wt_np=tiscali.link.footermail.voucherbusiness.btb>..>
>
>
>
> VOUCHER CONNETTIVITÀ per P.IVA e PMI: internet a canone 0 per 48 mesi.
> ATTIVA ORA
> https://casa.tiscali.it/promo/?u=https://promozioni.tiscali.it/voucher_business/ <https://casa.tiscali.it/promo/?u=https://promozioni.tiscali.it/voucher_business/?r=TS00000A00025&dm=link&p=tiscali&utm_source=tiscali&utm_medium=link&utm_campaign=voucherbusiness&wt_np=tiscali.link.footermail.voucherbusiness.btb..>
>
No comments:
Post a Comment