[<<][sdr][>>][..]
Wed Nov 21 20:24:08 EST 2012

Compiling rtl-sdr

sudo apt-get install libboost-all-dev  libusb-1.0.0-dev cmake python-cheetah python-qwt5-qt4 python2.7-dev swig fftw3-dev python-wxtools git libxml2-dev python-lxml libpulse-dev



~$ git clone http://gnuradio.org/git/gnuradio.git
~$ mkdir gnuradio/build && cd gnuradio/build && cmake ../ && make -j3 && sudo make install
(...)
~$ git clone git://git.osmocom.org/rtl-sdr.git
~$ mkdir rtl-sdr/build && cd rtl-sdr/build && cmake ../ && make -j3 && sudo make install
(...)
~$ git clone git://git.osmocom.org/gr-osmosdr.git
~$ mkdir gr-osmosdr/build && cd gr-osmosdr/build && cmake ../ && make -j3 && sudo make install
(...)

This is from [1] but there the order is not correct.
EDIT: After installing the 3 above, just do step one again, starting at "cmake ../"

After this, install GQRX[4]

~$ git clone https://github.com/csete/gqrx.git



Looking at [2], this has OsmoSDR source (I can also see RTLSDR
source).

I tried this from [3].

$ rtl_sdr /tmp/capture.bin -s 1.8e6 -f 392e6
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000013

Using device 0: ezcap USB 2.0 DVB-T/DAB/FM dongle
Found Rafael Micro R820T tuner
Tuned to 392000000 Hz.
Reading samples in async mode...
Signal caught, exiting!

Seems to work.



I tried to build it again but something failed.  There might be a
circular dependency here: first do gnuradio, then the other stuff,
then gnuradio again.


raceback (most recent call last):
  File "/home/tom/top_block.py", line 166, in <module>
    tb.start()
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/top_block.py", line 97, in start
    self._tb.start(max_noutput_items)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_runtime.py", line 1972, in start
    return _gnuradio_core_runtime.gr_top_block_sptr_start(self, max_noutput_items)
RuntimeError: resolve_port: hierarchical block 'osmosdr_source_c_impl': output 0 is not connected internally



[1] http://slug.blog.aeminium.org/2012/04/21/rtlsdr/
[2] http://slug.blog.aeminium.org/files/2012/05/ezcap_wnyc_1.png
[3] http://sdr.osmocom.org/trac/wiki/rtl-sdr
[4] http://www.oz9aec.net/index.php/gnu-radio/gqrx-sdr




[Reply][About]
[<<][sdr][>>][..]