RasPlex / OpenPHT

OpenPHT is a community driven fork of Plex Home Theater
Other
597 stars 109 forks source link

build fails on Debian Stretch #255

Open gueststar opened 7 years ago

gueststar commented 7 years ago

Trying to build from source, about 2/3 of the way through I get this message and the build fails.

/usr/src/OpenPHT/xbmc/peripherals/devices/PeripheralCecAdapter.cpp:1779:30: error: ‘CEC::libcec_configuration {aka struct CEC::libcec_configuration}’ has no member named ‘bSendInactiveSource’; did you mean ‘bActivateSource’? else if (m_configuration.bSendInactiveSource == 1)

OpenPHT: [version, skin and operating system]

1.8.0, I don't know what skin, Debian Stretch

PMS: [version and operating system]

plexmediaserver_1.1.4.2757-24ffd60 Debian Stretch

delfianto commented 7 years ago

I guess this is related to my issue here: #246

Most probably Debian Stretch like Ubuntu Zesty has libcec4, where OpenPHT depends on libcec3. These two libcec version are not API compatible so the build will fail.

If you don't need CEC support, you can try rebuilding with -DENABLE_CEC=off flag

syndrael commented 6 years ago

And without building. Is it possible to have a .deb version ? Sorry i don't find where to ask this question Best regards