Kodi Community Forum
Solved undefined symbol CallMenuHook - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136)
+---- Thread: Solved undefined symbol CallMenuHook (/showthread.php?tid=171643)



undefined symbol CallMenuHook - greco - 2013-08-19

Backported my PVR to Frodo (PVR 1.6.0). When I enable the PVR addon I get 'undefined symbol CallMenuHook'. I checked the the xbmc_pvr_dll.h file and the function is there. Any ideas as to what can be causing this issue?

Was there any changes to the xbmc_*.h files from 12.0 to 12.2 that might be the cause?

Thanks.
Greco


RE: undefined symbol CallMenuHook - greco - 2013-08-19

Figured it out. Mods pls delete.


RE: undefined symbol CallMenuHook - TO BE DELETED PLS - artrafael - 2013-08-19

Is the solution to the problem something that may be useful to others in the future? If so, please post it here. If it's not, then I'll delete this thread as requested. Thanks.


RE: undefined symbol CallMenuHook - TO BE DELETED PLS - greco - 2013-08-25

Actually in the xbmc_pvr_dll.h 1.7+ the function CallMenuHook takes two parameters where as the xbmc_pvr_dll.h in Frodo (v1.6) takes only one parameter.

1.6
PVR_ERROR CallMenuHook(const PVR_MENUHOOK &menuhook)

1.7+
PVR_ERROR CallMenuHook(const PVR_MENUHOOK &menuhook, const PVR_MENUHOOK_DATA &item)