-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile Error #3
Comments
I have the same problem trying to compile with Kodi 17.6 running on Ubuntu 16.06 with 4.13.0.37 kernel |
Compiled the wrong branch. My fault. Works now. somewhat. |
Found out that I hadn't loaded of couple of Kodi device libraries. Sorry about that. But I'm getting a couple of different errors on compiling RadioReceiver.cpp: What else am I missing? |
I have a similar issue on Ubuntu 18.04 and Kodi 17.6 with the Krypton branch of this pvr addon:
|
build p8,
build kodiplatform
try to build pvr :
/.kodi/addons/pvr.rtl.radiofm/build $ sudo make install
[ 2%] Building C object lib/rtl-sdr/src/CMakeFiles/rtlsdr_static.dir/librtlsdr.c.o
[ 5%] Building C object lib/rtl-sdr/src/CMakeFiles/rtlsdr_static.dir/tuner_e4k.c.o
[ 7%] Building C object lib/rtl-sdr/src/CMakeFiles/rtlsdr_static.dir/tuner_fc0012.c.o
[ 10%] Building C object lib/rtl-sdr/src/CMakeFiles/rtlsdr_static.dir/tuner_fc0013.c.o
[ 12%] Building C object lib/rtl-sdr/src/CMakeFiles/rtlsdr_static.dir/tuner_fc2580.c.o
[ 15%] Building C object lib/rtl-sdr/src/CMakeFiles/rtlsdr_static.dir/tuner_r82xx.c.o
[ 17%] Linking C static library librtlsdr.a
[ 17%] Built target rtlsdr_static
[ 20%] Building CXX object CMakeFiles/pvr.rtl.radiofm.dir/src/client.cpp.o
In file included from /home/pi/.kodi/addons/pvr.rtl.radiofm/src/RadioReceiver.h:30:0,
from /home/pi/.kodi/addons/pvr.rtl.radiofm/src/client.cpp:27:
/home/pi/.kodi/addons/pvr.rtl.radiofm/src/kodi_codec_descriptor.hpp: In static member function ‘static CodecDescriptor CodecDescriptor::GetCodecByName(const char*)’:
/home/pi/.kodi/addons/pvr.rtl.radiofm/src/kodi_codec_descriptor.hpp:53:37: error: ‘class CHelper_libXBMC_pvr’ has no member named ‘GetCodecByName’
retVal = CodecDescriptor(PVR->GetCodecByName("MP2"), strCodecName);
^~~~~~~~~~~~~~
/home/pi/.kodi/addons/pvr.rtl.radiofm/src/kodi_codec_descriptor.hpp:55:37: error: ‘class CHelper_libXBMC_pvr’ has no member named ‘GetCodecByName’
retVal = CodecDescriptor(PVR->GetCodecByName("MPEG2VIDEO"), strCodecName);
^~~~~~~~~~~~~~
/home/pi/.kodi/addons/pvr.rtl.radiofm/src/kodi_codec_descriptor.hpp:57:37: error: ‘class CHelper_libXBMC_pvr’ has no member named ‘GetCodecByName’
retVal = CodecDescriptor(PVR->GetCodecByName("TEXT"), strCodecName);
^~~~~~~~~~~~~~
/home/pi/.kodi/addons/pvr.rtl.radiofm/src/kodi_codec_descriptor.hpp:59:37: error: ‘class CHelper_libXBMC_pvr’ has no member named ‘GetCodecByName’
retVal = CodecDescriptor(PVR->GetCodecByName(strCodecName), strCodecName);
^~~~~~~~~~~~~~
/home/pi/.kodi/addons/pvr.rtl.radiofm/src/client.cpp: In function ‘ADDON_STATUS ADDON_SetSetting(const char*, const void*)’:
/home/pi/.kodi/addons/pvr.rtl.radiofm/src/client.cpp:298:10: error: ‘ADDON_STATUS_NOT_IMPLEMENTED’ was not declared in this scope
return ADDON_STATUS_NOT_IMPLEMENTED;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/.kodi/addons/pvr.rtl.radiofm/src/client.cpp: At global scope:
/home/pi/.kodi/addons/pvr.rtl.radiofm/src/client.cpp:306:53: error: ‘PVR_NAMED_VALUE’ has not been declared
PVR_ERROR GetEPGTagStreamProperties(const EPG_TAG*, PVR_NAMED_VALUE*, unsigned int*) { return PVR_ERROR_NOT_IMPLEMENTED; }
^~~~~~~~~~~~~~~
/home/pi/.kodi/addons/pvr.rtl.radiofm/src/client.cpp:358:26: error: ‘PVR_STREAM_TIMES’ was not declared in this scope
PVR_ERROR GetStreamTimes(PVR_STREAM_TIMES*) { return PVR_ERROR_NOT_IMPLEMENTED; }
^~~~~~~~~~~~~~~~
/home/pi/.kodi/addons/pvr.rtl.radiofm/src/client.cpp:358:43: error: expected primary-expression before ‘)’ token
PVR_ERROR GetStreamTimes(PVR_STREAM_TIMES*) { return PVR_ERROR_NOT_IMPLEMENTED; }
^
/home/pi/.kodi/addons/pvr.rtl.radiofm/src/client.cpp:359:29: error: ‘PVR_DESCRAMBLE_INFO’ was not declared in this scope
PVR_ERROR GetDescrambleInfo(PVR_DESCRAMBLE_INFO*) { return PVR_ERROR_NOT_IMPLEMENTED; }
^~~~~~~~~~~~~~~~~~~
/home/pi/.kodi/addons/pvr.rtl.radiofm/src/client.cpp:359:49: error: expected primary-expression before ‘)’ token
PVR_ERROR GetDescrambleInfo(PVR_DESCRAMBLE_INFO*) { return PVR_ERROR_NOT_IMPLEMENTED; }
^
/home/pi/.kodi/addons/pvr.rtl.radiofm/src/client.cpp:360:58: error: ‘PVR_NAMED_VALUE’ has not been declared
PVR_ERROR GetChannelStreamProperties(const PVR_CHANNEL*, PVR_NAMED_VALUE*, unsigned int*) { return PVR_ERROR_NOT_IMPLEMENTED; }
^~~~~~~~~~~~~~~
/home/pi/.kodi/addons/pvr.rtl.radiofm/src/client.cpp:361:62: error: ‘PVR_NAMED_VALUE’ has not been declared
PVR_ERROR GetRecordingStreamProperties(const PVR_RECORDING*, PVR_NAMED_VALUE*, unsigned int*) { return PVR_ERROR_NOT_IMPLEMENTED; }
^~~~~~~~~~~~~~~
CMakeFiles/pvr.rtl.radiofm.dir/build.make:62: recipe for target 'CMakeFiles/pvr.rtl.radiofm.dir/src/client.cpp.o' failed
make[2]: *** [CMakeFiles/pvr.rtl.radiofm.dir/src/client.cpp.o] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/pvr.rtl.radiofm.dir/all' failed
make[1]: *** [CMakeFiles/pvr.rtl.radiofm.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: