RasPlex / OpenPHT

OpenPHT is a community driven fork of Plex Home Theater
Other
596 stars 110 forks source link

Cannot build OpenPHT in Ubuntu 17.04 #246

Closed delfianto closed 7 years ago

delfianto commented 7 years ago

When building from source code in Ubuntu 17.04, it seems that OpenPHT depends on libcec 3 while Ubuntu 17.04 ships with libcec 4 which is not API compatible with version 3.

Build will end with the following error message:

OpenPHT-1.8.0.148-573b6d73/xbmc/peripherals/devices/PeripheralCecAdapter.cpp: In member function ‘virtual void PERIPHERALS::CPeripheralCecAdapter::Announce(ANNOUNCEMENT::AnnouncementFlag, const char*, const char*, const CVariant&)’: /home/defie/Downloads/OpenPHT-1.8.0.148-573b6d73/xbmc/peripherals/devices/PeripheralCecAdapter.cpp:172:25: error: ‘CEC::libcec_configuration {aka struct CEC::libcec_configuration}’ has no member named ‘bPowerOnScreensaver’ if (m_configuration.bPowerOnScreensaver == 1 && !bIgnoreDeactivate &&

delfianto commented 7 years ago

Small update, I managed to build OpenPHT on Ubuntu 17.04 but I need to turn off CEC support (-DENABLE_CEC=off).