Hi all,

Thank you for the feedback! I've managed to figure this out on my own.
Essentially, I followed this guide that another user put together a couple
months ago:
https://lists.gnu.org/archive/html/discuss-gnuradio/2020-09/pdfNp27msymbN.pdf

NOTE: This guide uses GRC 3.8. Currently, gr-osmosdr requires GRC 3.9 and
above.

In short, I followed this process for installation to get a working GRC 3.9
with osmocom and HackRF One compatibility:

   - Completely erase disk and install Ubuntu 20.04 LTS via bootable USB
   - install GR 3.9 dependencies
      - See:
      
https://wiki.gnuradio.org/index.php/UbuntuInstall#Install_the_Pre-Requisites
      - PPA install gnuradio 3.9
   - install librtlsdr from source
      - https://github.com/librtlsdr/librtlsdr
   - install gr-osmosdr from source
      - cmake with /usr prefix: ```cmake -DCMAKE_INSTALL_PREFIX=/usr ../```
   - install libhackrf from source (for interfacing with HackRF One)
   - git clone https://github.com/mossmann/hackrf.git
      - instructions:
      https://github.com/mossmann/hackrf/wiki/Operating-System-Tips

The main differences with this guide and my original from-source
installation are its installation of librtlsdr and its use of the /usr
prefix with gr-osmosdr. To be honest, I'm not sure which one was the key
point here. At the moment, the osmocom sink and source show up
successfully, but I'm still running into problems with blocks (though I
don't know whether the source of these problems is the /usr prefix or GRC
3.9 or both).

Thanks,
Jessica

On Sat, May 8, 2021 at 6:03 AM Chris Vine <vine35792...@gmail.com> wrote:

> On Fri, 7 May 2021 12:24:42 -0700
> Cinaed Simson <cinaed.sim...@gmail.com> wrote:
> > Hi Chris - I'm saying, my updated git copy of gr-osmosdr usng
> >
> >     git branch -a
> >
> > doesn't have an enrty for 3.9 - so it suggests it has not  been ported
> 3.9
> >
> > Acutally, I meant say "does not" have an entry for 3.9.
> >
> > I've have never used gr-soapy so I don't anything about it.
> >
> > On 5/7/21 2:33 AM, Chris Vine wrote:
> > > On Fri, 7 May 2021 00:43:25 -0700
> > > Cinaed Simson <cinaed.sim...@gmail.com> wrote:
> > >> Hi David - looking at my local git hub copy of the source for
> > >> gr-osmosdr, it does appear to have been ported to 3.9 - just 3.7 and
> 3.8.
> > >>
> > >> -- CInaed
> > >>
> > >> On 5/5/21 4:48 AM, David Martini wrote:
> > >>> In my case gr-osmosdr on ubuntu 20.04
> > >>> Work just in gnuradio 3.8.1.
> > >>> I'm not able to run it on ubuntu 3.9.. at least unit 10 days ago.
> > >>>
> > >>> David Martini
> > > Did you mean to say it has not been ported to 3.9, or that something
> > > else (I am not sure what) has not been ported to 3.7 and 3.8?
> > >
> > > If the former, that's not right: the master branch of the git repo at
> > > git://git.osmocom.org/gr-osmosdr works fine with gnuradio-3.9.1.0.
> You
> > > must be on its gr3.8 branch by mistake if you are restricted to
> > > gnuradio-3.8.
> > >
> > > The problematic one is gr-soapy.  The has been ported to 3.8 and the
> > > forthcoming 3.10 (where it is now in gnuradio's master branch) but not
> > > to 3.9.  However there is a privately maintained repo at
> > > git://gitlab.com/willcode4/gr-soapy.git which has a maint-3.9 branch
> > > which moves the code to pybind11 and works OK with gnuradio-3.9 (for me
> > > at least).
> > >
> > > Chris
>
> Hi,
>
> To be clear, there is no branch named "3.9" in of the gr-osmosdr git
> repository because the current master branch covers gnuradio-3.9.  Your
> suggestion that gr-osmosdr has not been ported to gnuradio-3.9 is wrong.
>
>

Reply via email to