Gr-smart meters Setup Guide: Difference between revisions

No edit summary
No edit summary
Line 44: Line 44:


===For HackRF Support===
===For HackRF Support===
====Install necessary packages====
<code>sudo apt-get install build-essential cmake libusb-1.0-0-dev pkg-config libfftw3-dev</code>
====Install HackRF from source, not Ubuntu PPA====
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
sudo apt-get install build-essential cmake libusb-1.0-0-dev pkg-config libfftw3-dev
git clone https://github.com/mossmann/hackrf.git
git clone https://github.com/mossmann/hackrf.git
cd hackrf/host/
cd hackrf/host/
Line 55: Line 57:
sudo ldconfig
sudo ldconfig
</syntaxhighlight>
</syntaxhighlight>
Then install gr-osmosdr for GNU Radio support
====Install gr-osmosdr for GNU Radio support====
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
git clone git://git.osmocom.org/gr-osmosdr
git clone git://git.osmocom.org/gr-osmosdr