sudo apt-get install rtl-sdr
sudo apt-get install librtlsdr-dev
sudo apt-get install gr-osmosdr
-- Cinaed
On 1/1/21 1:14 PM, Henning Dannheim wrote:
Hello all,I installed GNU Radio on Debian with WSL 2 on my Win 10 Laptop.Procedure:Install WSL 2 (I use Debian instead of Ubuntu): https://www.omgubuntu.co.uk/how-to-install-wsl2-on-windows-10Install Gnu Radio and other needed packages:sudo apt-get updatesudo apt-get upgadesudo apt-get install gnuradiosudo apt-get install libgnuradio-osmosdr0.1.4sudo apt-get install xtermsudo apt-get install mesa-utilsexport LIBGL_ALWAYS_INDIRECT=0
glxgears works fine, so openGL should not be a problem.
The flow graph I stole from here: http://www.stargazing.net/david/GNUradio/RTLFMstations.htmlAfterwards I adjusted the frequency and executed the flow graph. I expected additional windows like in this video (https://youtu.be/gHhS90dQ-ZI) but only a really small window opened for a few seconds and closed again.
This happens with all flow graphs I have composed. Seems to be a general problem. Running flow graphs with python leads to a Segmentation fault.Any ideas how to fix this?
Here is what the log says (sometimes the return code is missing):Block paths:/usr/share/gnuradio/grc/blocksLoading: "/mnt/c/Users/XXXXX/Downloads/FMstationsRTL/FMstationsRTL.grc">>> DoneGenerating: '/mnt/c/Users/XXXXX/Downloads/FMstationsRTL/top_block.py'Executing: /usr/bin/python2 -u /mnt/c/Users/XXXXX/Downloads/FMstationsRTL/top_block.pygr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.13.4built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp[32;1m[INFO] [UHD] [39;0mlinux; GNU C++ version 8.2.0; Boost_106700; UHD_3.13.1.0-3[INFO] Using format CF32.>>> Done (return code -11)
console:$ python top_block.py
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-pi'
gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.13.4
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp
[INFO] [UHD] linux; GNU C++ version 8.2.0; Boost_106700; UHD_3.13.1.0-3
[INFO] Using format CF32.
Segmentation fault
No comments:
Post a Comment