[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Trouble installing gr-baz
From: |
Cinaed Simson |
Subject: |
Re: [Discuss-gnuradio] Trouble installing gr-baz |
Date: |
Tue, 6 Jun 2017 00:14:39 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 |
On 06/04/2017 05:04 PM, Brandon Lester wrote:
> I am having issues getting some components installed for gnuradio. I am
> trying to install gr-baz and op25.
>
> My OS is Debian 8, and I installed gnuradio from the standard repository
> with
>
> sudo apt-get build-dep gnuradio
> sudo apt-get install gnuradio gnuradio-dev gr-osmosdr librtlsdr-dev
> libuhd-dev libhackrf-dev libitpp-dev libpcap-dev
You can't have 2 different installs of gnuradio unless you know what
you're doing and your careful.
Type
apt-get purge gnuradio gnuradio-dev gr-osmosdr librtlsdr-dev
libuhd-dev libhackrf-dev
Blow away the the pybombs install directory and then try again with
pybombs.
I would recommend using the prefix /usr/local/gnuradio, i.e., in it's
own independent directory.
Then find the lastest sources for the hardware libraries for the SDRs
you're planning on running - and ensure you have the latest firmware
installed on the devices and the libraries match the fireware.
gr-baz will compile under 3.7.11.1 but then you will need to find a
script which will translate the gr-baz blocks to version 3.7.11.1 of
gnuradio.
You probably don't want to take the route from gr-baz to OP25 - try
https://github.com/robotastic/trunk-recorder
instead.
-- Cinaed
>
> I then cloned the gr-baz from github, and did cmake and make. Make
> failed with the following:
>
> [ 58%] Building CXX object
> lib/CMakeFiles/gnuradio-baz.dir/baz_dpll_bb.cc.o
> /home/brandon/gnuradio/gr-baz/lib/baz_dpll_bb.cc: In member function
> ‘virtual int gr::baz::dpll_bb_impl::work(int,
> gr_vector_const_void_star&, gr_vector_void_star&)’:
> /home/brandon/gnuradio/gr-baz/lib/baz_dpll_bb.cc:245:85: error:
> ‘from_float’ is not a member of ‘pmt’
> add_item_tag(0, nitems_written(0)+i,
> pmt::mp("current_period"), pmt::from_float(current_period));
>
> ^
> lib/CMakeFiles/gnuradio-baz.dir/build.make:813: recipe for target
> 'lib/CMakeFiles/gnuradio-baz.dir/baz_dpll_bb.cc.o' failed
> make[2]: *** [lib/CMakeFiles/gnuradio-baz.dir/baz_dpll_bb.cc.o] Error 1
> CMakeFiles/Makefile2:106: recipe for target
> 'lib/CMakeFiles/gnuradio-baz.dir/all' failed
> make[1]: *** [lib/CMakeFiles/gnuradio-baz.dir/all] Error 2
> Makefile:127: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
> I checked the source of gnuradio on github, and from_float is indeed
> defined in pmt. The version of gnuradio-companion that is installed is
> version 3.7.5. I added the full output from make as an attachment.
>
> I also tried with pybombs, but couldn't get pybombs to run at all.
> Simply trying to add a recipe to pybombs caused a very long stack trace
> of errors.
>
> Any help/guidance is appreciated
> --
> Brandon
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>