2015-02-28, 03:13
Not sure if this is the right forum for this question, but:
I'm looking to build pvr.wmc from source. I did a git clone from: https://github.com/opdenkamp/xbmc-pvr-addons.git
Question 1 - Was that the right place to start from? ( noticed KrustyReturns had a separate fork )
If so, I'm able to build fine in VS2013 and I deploy the appropriate files over to Kodi/addons/pvr.wmc. (I'm using Kodi 14.1 stable btw)
When I try to enable the add on, I get an error reported from the pvr.wmc create method - error code 6 in the logs.
Turned on the debugger and pointed it to kodi - its failing to register the GUI in the create method. i.e.RegisterMe is returning false in this section of code:
if (!GUI->RegisterMe(hdl))
{
SAFE_DELETE(GUI);
SAFE_DELETE(XBMC);
return ADDON_STATUS_PERMANENT_FAILURE;
}
Question 2 - Any ideas why I'm seeing this failure? Noticed in the changelog that the APIs for GUI and PVR were recently updated in the project. Is it possible my Kodi 14.1 (Git:20150129-38e4046) instance does not have the new API's and thus is failing to register?
Background (if it helps) - I am a developer, but new to developing within/for KODI. Did C++/VS a long time ago (15+ years), but these days primarily Java/Eclipse.
Thanks in advance.
I'm looking to build pvr.wmc from source. I did a git clone from: https://github.com/opdenkamp/xbmc-pvr-addons.git
Question 1 - Was that the right place to start from? ( noticed KrustyReturns had a separate fork )
If so, I'm able to build fine in VS2013 and I deploy the appropriate files over to Kodi/addons/pvr.wmc. (I'm using Kodi 14.1 stable btw)
When I try to enable the add on, I get an error reported from the pvr.wmc create method - error code 6 in the logs.
Turned on the debugger and pointed it to kodi - its failing to register the GUI in the create method. i.e.RegisterMe is returning false in this section of code:
if (!GUI->RegisterMe(hdl))
{
SAFE_DELETE(GUI);
SAFE_DELETE(XBMC);
return ADDON_STATUS_PERMANENT_FAILURE;
}
Question 2 - Any ideas why I'm seeing this failure? Noticed in the changelog that the APIs for GUI and PVR were recently updated in the project. Is it possible my Kodi 14.1 (Git:20150129-38e4046) instance does not have the new API's and thus is failing to register?
Background (if it helps) - I am a developer, but new to developing within/for KODI. Did C++/VS a long time ago (15+ years), but these days primarily Java/Eclipse.
Thanks in advance.