On 2022-01-10 05:18, mobizmn--- via USRP-users wrote:

I installed GNU Radio via Pybombs. The Ubuntu version is Ubuntu 18.04.6 LTS.

So, I added the line in bashrc and now the file is running fine without any errors. Thanks!

But let me modify the problem statement. Apart from running the file from command line, I am also trying to run a similar code in Eclipse (which is my main working IDE). When I ran the that code in Eclipse for USRP N210, it was working perfectly fine. But when I run this code with USRP B210, it is still giving me the same error as mentioned above. (I now do have the path to UHD_IMAGES_DIR in bashrc).

Any idea how to solve this problem for Eclipse?


_______________________________________________
USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-le...@lists.ettus.com
It's very likely that the way your system starts Eclipse (from a menu item in the GUI?) it doesn't run Bash first, or if it does, it doesn't do it in a way that causes Bash to
  read its .bashrc.

Environment variables in Linux (and other Unix-like OS) propagate *downwards* in the process tree, and not "across".

You'll have to look into how Eclipse gets started on your system, and modify that, or start it from a command window that includes that environment variable.

_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to