• 1
  • 44
  • 45
  • 46(current)
  • 47
  • 48
  • 148
New MythTV add-on using libcmyth
i installed liboost like ya said but still get those errors


Making all in docsrc
make[2]: Entering directory `/root/src/xbmc/lib/cpluff/libcpluff/docsrc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/src/xbmc/lib/cpluff/libcpluff/docsrc'
make[2]: Entering directory `/root/src/xbmc/lib/cpluff/libcpluff'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/src/xbmc/lib/cpluff/libcpluff'
make[1]: Leaving directory `/root/src/xbmc/lib/cpluff/libcpluff'
make -C xbmc/pvrclients/MediaPortal
make[1]: Entering directory `/root/src/xbmc/xbmc/pvrclients/MediaPortal'
Makefile:27: warning: overriding commands for target `clean'
/root/src/xbmc/Makefile.include:134: warning: ignoring old commands for target `clean'
Makefile:32: warning: overriding commands for target `/root/src/xbmc/addons/pvr.team-mediaportal.tvserver/XBMC_MPTV.pvr'
/root/src/xbmc/Makefile.include:128: warning: ignoring old commands for target `/root/src/xbmc/addons/pvr.team-mediaportal.tvserver/XBMC_MPTV.pvr'
make[1]: `/root/src/xbmc/addons/pvr.team-mediaportal.tvserver/XBMC_MPTV.pvr' is up to date.
make[1]: Leaving directory `/root/src/xbmc/xbmc/pvrclients/MediaPortal'
make -C xbmc/pvrclients/mythtv
make[1]: Entering directory `/root/src/xbmc/xbmc/pvrclients/mythtv'
Makefile:18: warning: overriding commands for target `clean'
/root/src/xbmc/Makefile.include:134: warning: ignoring old commands for target `clean'
Makefile:24: warning: overriding commands for target `/root/src/xbmc/addons/pvr.mythtv/XBMC_Mythtv.pvr'
/root/src/xbmc/Makefile.include:128: warning: ignoring old commands for target `/root/src/xbmc/addons/pvr.mythtv/XBMC_Mythtv.pvr'
make[1]: `/root/src/xbmc/addons/pvr.mythtv/XBMC_Mythtv.pvr' is up to date.
make[1]: Leaving directory `/root/src/xbmc/xbmc/pvrclients/mythtv'
make -C xbmc/pvrclients/mythtv-cmyth
make[1]: Entering directory `/root/src/xbmc/xbmc/pvrclients/mythtv-cmyth'
Makefile:31: warning: overriding commands for target `clean'
/root/src/xbmc/Makefile.include:134: warning: ignoring old commands for target `clean'
Makefile:34: warning: overriding commands for target `/root/src/xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr'
/root/src/xbmc/Makefile.include:128: warning: ignoring old commands for target `/root/src/xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr'
CPP xbmc/pvrclients/mythtv-cmyth/fileOps.o
fileOps.h: In constructor âfileOps2::fileOps2(MythConnection&)â:
fileOps.h:53: warning: âfileOps2::m_conâ will be initialized after
fileOps.h:52: warning: âboost::filesystem::path fileOps2::m_localBasePathâ
fileOps.cpp:16: warning: when initialized here
fileOps.h:54: warning: âfileOps2::m_sg_stringsâ will be initialized after
fileOps.cpp:17: warning: base âPLATFORM::CThreadâ
fileOps.cpp:16: warning: when initialized here
fileOps.cpp:21: error: âstruct boost::filesystem::pathâ has no member named âc_strâ
fileOps.cpp: In member function âCStdString fileOps2::getChannelIconPath(CStdString)â:
fileOps.cpp:42: error: âstruct std::basic_string<char, std::char_traits<char>, std::allocator<char> >â has no member named âstringâ
fileOps.cpp: In member function âCStdString fileOps2::getPreviewIconPath(CStdString)â:
fileOps.cpp:63: error: âstruct std::basic_string<char, std::char_traits<char>, std::allocator<char> >â has no member named âstringâ
fileOps.cpp: In member function âCStdString fileOps2::getArtworkPath(CStdString, FILE_OPTIONS)â:
fileOps.cpp:95: error: âstruct std::basic_string<char, std::char_traits<char>, std::allocator<char> >â has no member named âstringâ
fileOps.cpp: In member function âvoid fileOps2::cleanCache()â:
fileOps.cpp:142: error: âstruct std::basic_string<char, std::char_traits<char>, std::allocator<char> >â has no member named âstringâ
fileOps.cpp:151: warning: comparison between signed and unsigned integer expressions
fileOps.cpp:150: warning: unused variable âmlmâ
fileOps.cpp: In member function âbool fileOps2::writeFile(boost::filesystem::path, MythFile&)â:
fileOps.cpp:240: error: âstruct boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits>â has no member named âc_strâ
fileOps.cpp:246: error: âstruct boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits>â has no member named âc_strâ
fileOps.cpp:294: error: âstruct boost::filesystem::pathâ has no member named âc_strâ
make[1]: *** [fileOps.o] Error 1
make[1]: Leaving directory `/root/src/xbmc/xbmc/pvrclients/mythtv-cmyth'
make: *** [pvrclients] Error 2
Reply
@darkwizard

You probably need the 1.46 dev libraries for libboost. If it helps I have the following libboost libs on my system (I don't think you need them all for xbmc though.....). If you apt-get them you'll probably be able to carry on compiling. It's most likely the regex/filesystem libraries you're missing.

Code:
libboost1.46-dev
libboost1.46-all-dev
libboost-program-options1.46.1
libboost-program-options1.46-dev
libboost-iostreams1.46.1
libboost-serialization1.46.1
libboost-graph1.46-dev
libboost-python1.46.1
libboost-python1.46-dev
libboost-serialization1.46-dev
libboost-test1.46-dev
libboost-regex1.46.1
libboost-regex1.46-dev
libboost-date-time1.46.1
libboost-date-time1.46-dev
libboost-filesystem1.46.1
libboost-filesystem1.46-dev
libboost-math1.46.1
libboost-math1.46-dev
libboost-random1.46-dev
libboost-signals1.46.1
libboost-signals1.46-dev
libboost-system1.46.1
libboost-system1.46-dev
libboost-thread1.46.1
libboost-thread1.46-dev
libboost-wave1.46.1
libboost-wave1.46-dev
libboost-mpi1.46.1
libboost-mpi1.46-dev
libboost-mpi-python1.46.1
libboost-mpi-python1.46-dev
libboost-graph-parallel1.46.1
libboost-graph-parallel1.46-dev
libboost-random1.46.1
Reply
Is it possible to revert to previous version somehow?
Reply
(2012-04-25, 14:35)bilbonvidia Wrote: Is it possible to revert to previous version somehow?

Depends on what platform you compiled it on and how you installed it? If you're on linux and used something like checkinstall then you'll have a rpm or deb (depending on your distro) that you can archive and go back to. If you are on OSX, then each successful compile is packaged into an .app, so you can archive these (just keeping the latest couple that have worked well for you). On windows I don't know, sorry.... All this is probably useless advice after the fact though. It is possible to revert a cloned git repo to an earlier commit though.... not sure what the commands are. You can then rebuild and use the advice above to make a catelogue of debs/rpms/apps/exes/whatever that will allow you to easily step back next time you have this problem....

A note on going back.... if there has been a database schema update, then restoring a previous version will use the appropriate database for that version. Changes to your library since the database upgrade will not be reflected when you downgrade. If like me, you clear out older mysql databases routinely, then you'll have to rebuild your library from scratch....

Reply
Thank you, hopefully there'll be another update which will fix soon.

I know what you mean about the mysql db's,, they have casued a slight headache for me a few times as well, until all running the same version again.
Reply
Hmm tested LiveTV again on my linux box. It shows the same error as has previous been posted. Very strange that the windows version isn't affected. Will see if I can find a solution.
Libcmyth MythTV addon for xbmc-pvr [source] [forum thread]
Reply
Thank you very much, it is appreciated! :-)
Reply
(2012-04-25, 20:33)bilbonvidia Wrote: Thank you very much, it is appreciated! :-)

Hey man, I think I've sussed out how to go back to a previous commit from the commandline:

first, run the following from the xbmc source directory:

Code:
git log --pretty=oneline

this will produce a list of commits with their sha, eg:

Code:
78390d6026d0fd367e83f7c98fc8fc0ea33dcd77 FIX: missing else in CPVRClients::GetStreamPosition(). Thanks to dodoadoodoo for noticing it.
7f687366c3abf83541f881801a3839387abd98d9 ADDED: Check program id to see if a recording is a movie
68e2f7fe7b7b02ba62b074d317d873c09231550b ADDED: Initial support for working timeshift.
5d0473ef81d516992eba9eb41d62d1c8fb069e57 FIX: fileOps check if directory exist before cleaning it FIX: use fopen instead of std::fstream as the later is incompatible with emufilewrapper in win32 for some
69b160b78ab9ed50d670ab5db450b93ce8dd01c5 FIX: missing source files and updated Makefile
7e9bad8b08ca5ee4a3d3321d99740bb260a9d4b8 FIX: error in addon.xml
9a98a90486378cdcb17bd1ae40f88e83c484d127 Merge remote-tracking branch 'upstream/master'
1e0bf4d93ba139c3bc12bb222159a60b9865cb6f ADDED: Changed default regex for folder naming to use subtitle separator. Now possible to change the title. ADDED: Optional regex to detect series. MAJOR FIX: lib
939413a1aa14357f0c794113abb2912422619181 FIX: rewrote the artwork code. Will now use preview image if no fanart is present.
7bc746d1da54aaa83da026eb45566c2e81309153 Merge branch 'PR488'. closes #488
bd71a3d76a4b11477629eb8761446f79764c2aef epg: new channel context menu item in channel groups that allows updating of EPG information for specific channel on demand
53d808a4c5ce8bce8585e00bcd4f0eeb0793892a Merge branch 'PR501'. closes #501
6a0aae1ebf69a27a21e74b173de5a916a1fcd76c Set folder date to the date of the most recent recording it contain.
5a04feeec234950e70adc1b48ab5f30038e2a16a Merge branch 'PR506'. closes #506
278512022a590a7f7b2fc0567c0b777361d364c2 pvr: fixed deadlock on creating thumbnails
6e396746d84fd3c6e100d6e4fb5990f487fbef0d pvr: fix recording path for subdirectories
db7f030a3eaaefc5b11fbc09ec2daba9c384aab3 Merge remote branch 'upstream-ro/master'
b95739e4fada671e2effaf180748492dae3edebf jsonrpc: fix sorting in Files.GetSources (fixes #12932)
03c298e013b83e0fbadec89e7df37fd37a436c52 Merge pull request #809 from scarabeusiv/ffmpeg10
snip.....

then you decide what commit you want to go back to, e.g I like the look of:

Code:
1e0bf4d93ba139c3bc12bb222159a60b9865cb6f ADDED: Changed default regex for folder naming to use subtitle separator. Now possible to change the title. ADDED: Optional regex to detect series. MAJOR FIX: lib

Take the first 8 digits of the number displayed by the commit you want (in this example 1e0bf4d9) and type the following:

Code:
git reset --hard 1e0bf4d9

this will reset the repo to this commit (I think!)

if you want to go back to the current commit, then a simple:

Code:
git pull

should do the trick. I should mention that I forked tsp's branch to test and play around with git, so I'm new to all this and this may not be correct. It also assumes that you know the commit that you wish to go back to. That may require some trail and error on your part......

Anyway, it's something that I've long wondered about, so you prompted me to check it out. If I've done it wrong, someone please chip in!

PS what platform are you compiling on? If it's a debian based linux, I can let you have the checkinstall commandline I use to produce a deb on install if you'd like? Makes switching between compiles as easy as using dpkg -r and then dpkg -i......
Reply
(2012-04-23, 21:36)InoD Wrote: Great update!

Unfortunately suspend stopped working for me (nothing happens), so switched back to my previous build while building latest OpenELEC in the meantime.
It does seem my issue with myth:// protocol is still there. Could you look into that tsp? Thanks!
I've tried to investigate the problem a bit myself, but it seems that it is unrelated to the myth:// protocol.
Somehow, the logs I posted didn't have the following three lines:
Code:
19:46:43 T:139913124009792   ERROR: CWinSystemX11::XErrorHandler: BadDrawable (invalid Pixmap or Window parameter), type:0, serial:49, error_code:9, request_code:136 minor_code:12
19:46:43 T:139913124009792   ERROR: CWinSystemX11::XErrorHandler: BadDrawable (invalid Pixmap or Window parameter), type:0, serial:50, error_code:9, request_code:136 minor_code:12
19:46:43 T:139913124009792   ERROR: CWinSystemX11::XErrorHandler: BadDrawable (invalid Pixmap or Window parameter), type:0, serial:51, error_code:9, request_code:136 minor_code:12
When I google for these errors, it seems we're not the only ones with this problem and no real solution yet. I will see if I can create a debug build of OpenELEC (could do with standalone debug build of XBMC, but something tells me it is hardware related as well).
Reply
@Jimmer Thanks mate, I had been trying to figure it out, you beat me to it.
Reply
I disabled time shift on Linux in the latest update so it should be usable till I find the obscure bug (fearing that it is ffmpeg again. Stupid decoder. Suspect that dteirney can agree on that).
Libcmyth MythTV addon for xbmc-pvr [source] [forum thread]
Reply
(2012-04-25, 22:45)tsp42 Wrote: I disabled time shift on Linux in the latest update so it should be usable till I find the obscure bug (fearing that it is ffmpeg again. Stupid decoder. Suspect that dteirney can agree on that).

just tried to compile on linux:

Code:
CPP     xbmc/pvr/addons/PVRClients.o
PVRClients.cpp:360:6: error: #elif with no expression
PVRClients.cpp: In member function ‘int64_t PVR::CPVRClients::SeekStream(int64_t, int)’:
PVRClients.cpp:364:3: error: ‘else’ without a previous ‘if’

seems the changes to PVRClients.cpp are not so robust! I just re-edited PVRClients to revert the changes and compiling proceeds on successfully.....

.... plus was still wondering what part of mythconverg the addon references to download the artwork. Still trying to track that problem down! The only reference to art storage groups references /var/lib/mythtv ..... whereas my storage groups are on my server and mounted on my backend at /media/PVR/...... I can't find an entry that may contain filelists or anything like that. Any help would be appreciated!
Reply
Fixed. I also found the reason why LiveTV wasn't working on Linux. Turned out that the mutex used on Linux in libcmyth is not reentrant so liveTV seeking caused the thread to deadlock. The mutex on windows is reentrant so no deadlock occurred.
Libcmyth MythTV addon for xbmc-pvr [source] [forum thread]
Reply
Nice work! Smile Just one small thing: Either the onleft/onright or the order of rewind and pause is swapped. If you're on rewind and press right on the remote then you land on pause. (in both, home and osd)

Short update on the 'Mark recordings as watched': (https://github.com/opdenkamp/xbmc/pull/508) PR is still open as I had to fix a few smaller issues. I added now also the watched overlay for folders allowing you to easily find out if you have unwatched episodes. :-) Hope it gets merged soon.
Reply
(2012-04-26, 00:44)tsp42 Wrote: Fixed. I also found the reason why LiveTV wasn't working on Linux. Turned out that the mutex used on Linux in libcmyth is not reentrant so liveTV seeking caused the thread to deadlock. The mutex on windows is reentrant so no deadlock occurred.

Great work. I can confirm this has also resolved my issue.

Thanks for the commit.



Reply
  • 1
  • 44
  • 45
  • 46(current)
  • 47
  • 48
  • 148

Logout Mark Read Team Forum Stats Members Help
New MythTV add-on using libcmyth8