[Gnss-sdr-developers] Getting gnss-sdr working with ADALM-Pluto
An open source software-defined GNSS receiver
Brought to you by:
carlesfernandez
From: Will S. <wsi...@go...> - 2022-06-29 00:08:59
|
Hi, I'm trying to get gnss-sdr working with ADALM-Pluto as an input source. I built and installed gnss-sdr with -DENABLE_PLUTOSDR as described here <https://gnss-sdr.org/docs/sp-blocks/signal-source/#implementation-plutosdr_signal_source>, but get this error: plutosdr_signal_source.h:28:10: fatal error: gnuradio/iio/pluto_source.h: No such file or directory 28 | #include <gnuradio/iio/pluto_source.h> As pluto_source.h doesn't exist in gnuradio/gr-iio/include/gnuradio/iio/ <https://github.com/gnuradio/gnuradio/tree/main/gr-iio/include/gnuradio/iio>, I tried installing https://github.com/analogdevicesinc/gr-iio directly (which required downgrading gnuradio to v3.8), following https://wiki.analog.com/resources/tools-software/linux-software/gnuradio. But this results in the same error about missing pluto_source.h. I also found in cmake/Modules/FindGNURADIO <https://github.com/gnss-sdr/gnss-sdr/blob/main/c> that gr-iio is only included in gnss-sdr if the installed gnuradio version is >3.8.99. So it seems like installing the standalone gr-iio requires gnuradio v3.8, while gnss-sdr is requiring v>3.8.99. I tried removing the >3.8.99 restriction, but this just leads to more errors, and I suspect I'm going the wrong way: plutosdr_signal_source.cc: In member function ‘virtual void PlutosdrSignalSource::connect(gr::top_block_sptr)’: pllutosdr_signal_source.cc:174:31: error: no matching function for call to ‘gr::top_block::connect(gr::iio::fmcomms2_source<std::complex<float> >::sptr&, int, gnss_shared_ptr<gr::block>&, int)’ 174 | top_block->connect(plutosdr_source_, 0, valve_, 0); Any idea what I might be missing here? I suspect the documentation about using the pluto signal source <https://github.com/gnss-sdr/gnss-sdr/blob/main/c> is incorrect in saying the gr-iio component in gnuradio is ready to go, since it doesn't actually include the relevant headers. Thank you! Will |