(2012-10-24, 10:21)janbar Wrote: Also the new addon , now available in cfetzer, has a new feature to support disconnection from backend. You can stop mythtv to do maintenance or save power or upgrade and then restart it without stopping XBMC. It reconnects automaticaly as a good guy. I invit you to test this feature by disconnect network or stop mythtv service and reconnect few time later. You will seeing, that's' magic.
janbar,
I'm trying to compile the latest git clone from cfetzer, from today.
It compiles all the addons, except the pvr.mythtv.cmyth.
I have followed your guide step by step from the XBMC Wiki.
When I run "make zip", I see these errors in the Terminal:
Code:
libtool: compile: g++ -DPACKAGE_NAME=\"xbmc-pvr-addons\" -DPACKAGE_TARNAME=\"xbmc-pvr-addons\" -DPACKAGE_VERSION=\"1:0:0\" "-DPACKAGE_STRING=\"xbmc-pvr-addons 1:0:0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_MYSQL=1 -I. -I. -I/Users/martin/src/xbmc-pvr-addons/xbmc -I/Users/martin/src/xbmc-pvr-addons/lib -I/Users/martin/src/xbmc-pvr-addons/lib/cmyth/include -g -O2 -fPIC -Wall -Wextra -Wno-missing-field-initializers -Woverloaded-virtual -Wno-parentheses -DTARGET_POSIX -DTARGET_DARWIN -D_LINUX -DUSE_DEMUX -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -Wall -Wextra -Wno-missing-field-initializers -Woverloaded-virtual -Wno-parentheses -fPIC -dynamiclib -single_module -undefined dynamic_lookup -g -O2 -MT client.lo -MD -MP -MF .deps/client.Tpo -c src/client.cpp -fno-common -DPIC -o .libs/client.o
In file included from src/cppmyth.h:3,
from src/pvrclient-mythtv.h:21,
from src/client.cpp:23:
src/cppmyth/MythChannel.h:24:32: error: boost/shared_ptr.hpp: No such file or directory
In file included from src/client.h:26,
from src/client.cpp:22:
/Users/martin/src/xbmc-pvr-addons/lib/platform/util/StdString.h: In function 'wchar_t* StdCodeCvt(wchar_t*, int, const char*, int, const std::locale&)':
/Users/martin/src/xbmc-pvr-addons/lib/platform/util/StdString.h:868: warning: missing braces around initializer for 'char [128]'
/Users/martin/src/xbmc-pvr-addons/lib/platform/util/StdString.h: In function 'char* StdCodeCvt(char*, int, const wchar_t*, int, const std::locale&)':
/Users/martin/src/xbmc-pvr-addons/lib/platform/util/StdString.h:911: warning: missing braces around initializer for 'char [128]'
In file included from src/cppmyth.h:3,
from src/pvrclient-mythtv.h:21,
from src/client.cpp:23:
src/cppmyth/MythChannel.h: At global scope:
src/cppmyth/MythChannel.h:52: error: 'boost' has not been declared
src/cppmyth/MythChannel.h:52: error: ISO C++ forbids declaration of 'shared_ptr' with no type
src/cppmyth/MythChannel.h:52: error: expected ';' before '<' token
In file included from src/cppmyth.h:4,
from src/pvrclient-mythtv.h:21,
from src/client.cpp:23:
src/cppmyth/MythConnection.h:92: error: 'boost' has not been declared
src/cppmyth/MythConnection.h:92: error: ISO C++ forbids declaration of 'shared_ptr' with no type
src/cppmyth/MythConnection.h:92: error: expected ';' before '<' token
In file included from src/cppmyth.h:5,
from src/pvrclient-mythtv.h:21,
from src/client.cpp:23:
src/cppmyth/MythDatabase.h:86: error: 'boost' has not been declared
src/cppmyth/MythDatabase.h:86: error: ISO C++ forbids declaration of 'shared_ptr' with no type
src/cppmyth/MythDatabase.h:86: error: expected ';' before '<' token
In file included from src/cppmyth.h:6,
from src/pvrclient-mythtv.h:21,
from src/client.cpp:23:
src/cppmyth/MythEventHandler.h:57: error: 'boost' has not been declared
src/cppmyth/MythEventHandler.h:57: error: ISO C++ forbids declaration of 'shared_ptr' with no type
src/cppmyth/MythEventHandler.h:57: error: expected ';' before '<' token
In file included from src/cppmyth.h:7,
from src/pvrclient-mythtv.h:21,
from src/client.cpp:23:
src/cppmyth/MythFile.h:46: error: 'boost' has not been declared
src/cppmyth/MythFile.h:46: error: ISO C++ forbids declaration of 'shared_ptr' with no type
src/cppmyth/MythFile.h:46: error: expected ';' before '<' token
In file included from src/cppmyth.h:8,
from src/pvrclient-mythtv.h:21,
from src/client.cpp:23:
src/cppmyth/MythProgramInfo.h:68: error: 'boost' has not been declared
src/cppmyth/MythProgramInfo.h:68: error: ISO C++ forbids declaration of 'shared_ptr' with no type
src/cppmyth/MythProgramInfo.h:68: error: expected ';' before '<' token
In file included from src/cppmyth.h:9,
from src/pvrclient-mythtv.h:21,
from src/client.cpp:23:
src/cppmyth/MythRecorder.h:63: error: 'boost' has not been declared
src/cppmyth/MythRecorder.h:63: error: ISO C++ forbids declaration of 'shared_ptr' with no type
src/cppmyth/MythRecorder.h:63: error: expected ';' before '<' token
src/cppmyth/MythRecorder.h:64: error: 'boost' has not been declared
src/cppmyth/MythRecorder.h:64: error: ISO C++ forbids declaration of 'shared_ptr' with no type
src/cppmyth/MythRecorder.h:64: error: expected ';' before '<' token
In file included from src/cppmyth.h:12,
from src/pvrclient-mythtv.h:21,
from src/client.cpp:23:
src/cppmyth/MythTimestamp.h:55: error: 'boost' has not been declared
src/cppmyth/MythTimestamp.h:55: error: ISO C++ forbids declaration of 'shared_ptr' with no type
src/cppmyth/MythTimestamp.h:55: error: expected ';' before '<' token
In file included from src/fileOps.h:23,
from src/pvrclient-mythtv.h:22,
from src/client.cpp:23:
src/cppmyth/MythStorageGroupFile.h:45: error: 'boost' has not been declared
src/cppmyth/MythStorageGroupFile.h:45: error: ISO C++ forbids declaration of 'shared_ptr' with no type
src/cppmyth/MythStorageGroupFile.h:45: error: expected ';' before '<' token
In file included from src/client.cpp:23:
src/pvrclient-mythtv.h:51: error: 'boost' was not declared in this scope
src/pvrclient-mythtv.h:51: error: template argument 1 is invalid
src/pvrclient-mythtv.h:51: error: template argument 2 is invalid
make[2]: *** [client.lo] Error 1
EDIT: OK, now I know why
It's because, on a freshly installed OS X system (10.8.2), I don't have the "/usr/local/include/" folder, so this command didn't work: "sudo ln -s /opt/local/include/boost /usr/local/include/boost".
I just did "mkdir /usr/local/include/" and ran the "ln -s" command again, and it compiled!