Reply To: Jivelite libcec install problem

Max2Play Home 2016 (en) Forums Max2Play Add-ons Jivelite libcec install problem Reply To: Jivelite libcec install problem

1. April 2019 at 22:13 #44941

Hi,
I bougth a Raspberry pi and just installed the Max2play solution with license in order to have a good solution the stream different sources on my AVR plug on my TV. I thought I could manage Max2Play with my TV remote control but I’m facing the same issue (see below).
How can I do to make CEC control working ?
Is it just a compilation problem ?

make[1]: Entering directory '/opt/libcec-daemon'
CXX src/main.o
In file included from src/main.cpp:30:0:
src/accumulator.hpp: In instantiation of ‘accumulator_type* accumulator(T*) [with T = int]’:
src/main.cpp:569:46: required from here
src/accumulator.hpp:97:41: error: cannot allocate an object of abstract type ‘accumulator_type’
src/accumulator.hpp:18:7: note: because the following virtual functions are pure within ‘accumulator_type’:
In file included from /usr/include/boost/program_options/options_description.hpp:13:0,
from /usr/include/boost/program_options.hpp:15,
from src/main.cpp:26:
/usr/include/boost/program_options/value_semantic.hpp:44:22: note: virtual bool boost::program_options::value_semantic::adjacent_tokens_only() const
Makefile:447: recipe for target 'src/main.o' failed
make[1]: *** [src/main.o] Error 1
make[1]: Leaving directory '/opt/libcec-daemon'
Makefile:323: recipe for target 'all' failed
make: *** [all] Error 2
CXX src/main.o
In file included from src/main.cpp:30:0:
src/accumulator.hpp: In instantiation of ‘accumulator_type* accumulator(T*) [with T = int]’:
src/main.cpp:569:46: required from here
src/accumulator.hpp:97:41: error: cannot allocate an object of abstract type ‘accumulator_type’
src/accumulator.hpp:18:7: note: because the following virtual functions are pure within ‘accumulator_type’:
In file included from /usr/include/boost/program_options/options_description.hpp:13:0,
from /usr/include/boost/program_options.hpp:15,
from src/main.cpp:26:
/usr/include/boost/program_options/value_semantic.hpp:44:22: note: virtual bool boost::program_options::value_semantic::adjacent_tokens_only() const
Makefile:447: recipe for target 'src/main.o' failed
make: *** [src/main.o] Error 1
/var/www/max2play/application/plugins/jivelite/controller/../scripts/install_cec.sh: line 69: /usr/local/bin/libcec-daemon: No such file or directory
finished Click here to reload Page

Installation réussie

Thanks and regards.