XBMC Community Forum
New MythTV add-on using libcmyth - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: PVR Development (/forumdisplay.php?fid=136)
+--- Thread: New MythTV add-on using libcmyth (/showthread.php?tid=110694)



RE: New MythTV add-on using libcmyth - zarboz - 2012-06-18 22:38

Unable to compile ubuntu 11.10 get error on PVR plugin compile..

once i finish recompiling i will post output


just wondering if someone can supply me with the /addons/pvr.myth.cmyth folder


Code:
akefile:34: warning: overriding commands for target `/home/felony/xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr'
/home/felony/xbmc/Makefile.include:127: warning: ignoring old commands for target `/home/felony/xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr'
CPP     xbmc/pvrclients/mythtv-cmyth/client.o
CPP     xbmc/pvrclients/mythtv-cmyth/cppmyth/MythChannel.o
CPP     xbmc/pvrclients/mythtv-cmyth/cppmyth/MythConnection.o
CPP     xbmc/pvrclients/mythtv-cmyth/cppmyth/MythDatabase.o
CPP     xbmc/pvrclients/mythtv-cmyth/cppmyth/MythEventHandler.o
cppmyth/MythEventHandler.cpp: In constructor ‘MythEventHandler::ImpMythEventHandler::ImpMythEventHandler(CStdString, short unsigned int)’:
cppmyth/MythEventHandler.cpp:55:16: warning: ‘MythEventHandler::ImpMythEventHandler::m_conn_t’ will be initialized after [-Wreorder]
cppmyth/MythEventHandler.cpp:62:64: warning:   base ‘PLATFORM::CThread’ [-Wreorder]
cppmyth/MythEventHandler.cpp:61:1: warning:   when initialized here [-Wreorder]
cppmyth/MythEventHandler.cpp:50:14: warning: ‘MythEventHandler::ImpMythEventHandler::m_signal’ will be initialized after [-Wreorder]
cppmyth/MythEventHandler.cpp:62:64: warning:   base ‘PLATFORM::CMutex’ [-Wreorder]
cppmyth/MythEventHandler.cpp:61:1: warning:   when initialized here [-Wreorder]
CPP     xbmc/pvrclients/mythtv-cmyth/cppmyth/MythFile.o
CPP     xbmc/pvrclients/mythtv-cmyth/cppmyth/MythProgramInfo.o
CPP     xbmc/pvrclients/mythtv-cmyth/cppmyth/MythRecorder.o
CPP     xbmc/pvrclients/mythtv-cmyth/cppmyth/MythSignal.o
CPP     xbmc/pvrclients/mythtv-cmyth/cppmyth/MythTimer.o
CPP     xbmc/pvrclients/mythtv-cmyth/cppmyth/MythTimestamp.o
CPP     xbmc/pvrclients/mythtv-cmyth/cppmyth/MythSGFile.o
CPP     xbmc/pvrclients/mythtv-cmyth/fileOps.o
fileOps.h: In constructor ‘fileOps2::fileOps2(MythConnection&)’:
fileOps.h:56:18: warning: ‘fileOps2::m_con’ will be initialized after [-Wreorder]
fileOps.h:55:27: warning:   ‘boost::filesystem3::path fileOps2::m_localBasePath’ [-Wreorder]
fileOps.cpp:16:1: warning:   when initialized here [-Wreorder]
fileOps.h:57:40: warning: ‘fileOps2::m_sg_strings’ will be initialized after [-Wreorder]
fileOps.cpp:17:128: warning:   base ‘PLATFORM::CThread’ [-Wreorder]
fileOps.cpp:16:1: warning:   when initialized here [-Wreorder]
fileOps.cpp: In member function ‘void fileOps2::cleanCache()’:
fileOps.cpp:179:107: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
fileOps.cpp:178:24: warning: unused variable ‘mlm’ [-Wunused-variable]
CPP     xbmc/pvrclients/mythtv-cmyth/pvrclient-mythtv.o
pvrclient-mythtv.h: In constructor ‘PVRClientMythTV::PVRClientMythTV()’:
pvrclient-mythtv.h:109:12: warning: ‘PVRClientMythTV::m_categoryMap’ will be initialized after [-Wreorder]
pvrclient-mythtv.h:90:13: warning:   ‘fileOps2* PVRClientMythTV::m_fOps2_client’ [-Wreorder]
pvrclient-mythtv.cpp:95:1: warning:   when initialized here [-Wreorder]
pvrclient-mythtv.cpp: In member function ‘PVR_ERROR PVRClientMythTV::GetEPGForChannel(PVR_HANDLE, const PVR_CHANNEL&, time_t, time_t)’:
pvrclient-mythtv.cpp:433:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
pvrclient-mythtv.cpp: In member function ‘PVR_ERROR PVRClientMythTV::GetRecordings(PVR_HANDLE)’:
pvrclient-mythtv.cpp:594:14: warning: unused variable ‘startTime’ [-Wunused-variable]
pvrclient-mythtv.cpp: In member function ‘PVR_ERROR PVRClientMythTV::CallMenuHook(const PVR_MENUHOOK&)’:
pvrclient-mythtv.cpp:1305:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CPP     xbmc/pvrclients/mythtv-cmyth/recordingRules.o
recordingRules.cpp: In member function ‘AddonListItemPtr RecordingRulesWindow::AddRecordingRule(MythTimer&)’:
recordingRules.cpp:196:9: warning: enumeration value ‘NotRecording’ not handled in switch [-Wswitch]
recordingRules.cpp:261:9: warning: enumeration value ‘ManualSearch’ not handled in switch [-Wswitch]
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2  -shared -g client.o cppmyth/MythChannel.o cppmyth/MythConnection.o cppmyth/MythDatabase.o cppmyth/MythEventHandler.o cppmyth/MythFile.o cppmyth/MythProgramInfo.o cppmyth/MythRecorder.o cppmyth/MythSignal.o cppmyth/MythTimer.o cppmyth/MythTimestamp.o cppmyth/MythSGFile.o fileOps.o pvrclient-mythtv.o recordingRules.o     -lboost_system -lboost_filesystem -lboost_regex -ldl   -o /home/felony/xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr
/usr/bin/ld: cannot find -lboost_system
/usr/bin/ld: cannot find -lboost_filesystem
/usr/bin/ld: cannot find -lboost_regex
collect2: ld returned 1 exit status
make[1]: *** [/home/felony/xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr] Error 1
make[1]: Leaving directory `/home/felony/xbmc/xbmc/pvrclients/mythtv-cmyth'
make: *** [pvrclients] Error 2



RE: New MythTV add-on using libcmyth - tsp42 - 2012-06-18 23:32

(2011-09-22 00:11)tsp42 Wrote:  Boost version 1.44 or later is needed. On Ubuntu make sure to install libboost-regex-dev and libboost-filesystem-dev in addition to libboost-dev



RE: New MythTV add-on using libcmyth - zarboz - 2012-06-18 23:46

Thanks for the prompt response

all those packages are installed and up to date

still failed to link on compile though

Code:
problems, you have held broken packages.
felony@felony:~/xbmc$ sudo apt-get install libboost-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
libboost-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

xbmc$ sudo apt-get install libboost-regex-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
libboost-regex-dev is already the newest version.
libboost-regex-dev set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
felony@felony:~/xbmc$ sudo apt-get install libboost-filesystem-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
libboost-filesystem-dev is already the newest version.
libboost-filesystem-dev set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

appears i had to link the .so's in my /usr/lib/ folder

idk what the deal was

once agian thanks for the prompt response i know its crazy supporting stuff people dont pay for

do you have a donate link i would like to donate to this


RE: New MythTV add-on using libcmyth - zarboz - 2012-06-19 00:17

Also confused on the configuration of the plugin

is it looking for the mythxml port or the mysql port?

will tinker with it but just curious for my own records


RE: New MythTV add-on using libcmyth - zarboz - 2012-06-19 23:39

Ok got it compiled and working in ubuntu and my fedora box

working on mac compile now...
stupid libogg.dylib error Sad

just for others to reproduce because i now have successful compile

Installed xcode 3.1.2
Installed xcode 3.2.6
Installed bjam from boostlib website and placed in /usr/bin/

followed XBMC compile instructions included in repo


RE: New MythTV add-on using libcmyth - kburkart - 2012-06-20 16:25

zarboz,

So how is the channel changing with this new build?

tsp, when will the fast channel changing be folded back into Eden-pvr so that InoD can rebuild openelec Smile


RE: New MythTV add-on using libcmyth - zarboz - 2012-06-21 02:39

Chanel changing is great on my linux box.. Time shift does not work with my compile pause and play do record does as well as EPG ..


Cant get the proper boostlibs for mac to compile :*(


RE: New MythTV add-on using libcmyth - tsp42 - 2012-06-21 15:07

I'm still working on improving the timeshift code.

zarboz: Have you checked http://www.macports.org/ for boost? I don't have a Mac so the addon code may refuse to compile when you get to that part. You are welcome to use the donate button on my avisynth filter page.


RE: New MythTV add-on using libcmyth - tsp42 - 2012-06-22 01:50

Eden-pvr branch and master branch updated.


RE: New MythTV add-on using libcmyth - speed32219 - 2012-06-22 06:37

Anyone having problems with the newest version stopping in middle of TV shows? The older version stops, but not as frequent and usually on a commercial or end of a show. It is almost there but is anyone looking into the stopping issue? Maybe I'm the only one with this problem. I will turn on logging and submit a pastebin later this weekend.