Kodi Community Forum
Realtek SDR on RPi - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: Realtek SDR on RPi (/showthread.php?tid=333945)



Realtek SDR on RPi - elektrinis - 2018-07-22

So I want to build a car head onit and obviously need a proper FM radio.
I have one of those cheap USB SDR sticks, shat should, supposedly, work. At least I foud such information on the internets, but nothing in detail.
Found myself this PVR addon: pvr.rtl.radiofm
https://github.com/AlwinEsch/pvr.rtl.radiofm
Sadly, it need compiling...

Before bricking my RPi, I have installed latest raspbian on VirtualBox, then installed Kodi like this:
sudo apt-get update
sudo apt-get install kodi

Kodi works fine.
Then I tried to install the addon. Found addon directory on /usr/share/kodi/addons. Then:
git clone https://github.com/AlwinEsch/pvr.rtl.radiofm.git
mkdir ./pvr.rtl.radiofm/build
cd ./pvr.rtl.radiofm/build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
sudo make install

However cmake failed with "KodiConfig.cmake" not found.
Googled around and installed kodi-dev. that fixed the issue.
Now I'm getting "kodiplatformConfig.cmake" not found.
Googled around that I need this:
https://github.com/xbmc/kodi-platform
But failed to compile that as well.

Please advise what do I do next.

Also please let mek now if anyone managed FM radio, DAB or even TV working with usb dongles, and how they did it.