Closed Foxi352 closed 9 years ago
At first glance, that looks like a version mismatch. Which versions of python-cec and libcec do you have?
Sorry for delay. I use latest develop branch of python-cec and latest stock libcec available on rpi.
The stock version of libcec that ships with raspbian only supports the USB CEC adapter from Pulse-Eight. I suggest you upgrade to my build of libcec for raspbian, per the README.
Oh ok, i thought this was solved meanwhile. My bad. Will try and report back.
On 19. Apr 2014, at 0:40, Austin notifications@github.com wrote:
The stock version of libcec that ships with raspbian only supports the USB CEC adapter from Pulse-Eight. I suggest you upgrade to my build of libcec for raspbian, per the README.
— Reply to this email directly or view it on GitHub.
No activity in 8 months. Closing.
Hello, While trying to compile on Raspbian:
root@smarthome:/usr/src/python-cec# python setup.py install running install running build running buildext building 'cec' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I/usr/include/python2.7 -c cec.cpp -o build/temp.linux-armv6l-2.7/cec.o cec.cpp: In function ‘void initcec()’: cec.cpp:647:37: error: invalid conversion from ‘int ()(void_, CEC::cec_logmessage)’ to ‘CEC::CBCecLogMessageType {aka int ()(void_, const CEC::cec_logmessage&)}’ [-fpermissive] cec.cpp:648:35: error: invalid conversion from ‘int ()(void_, CEC::ceckeypress)’ to ‘CEC::CBCecKeyPressType {aka int ()(void_, const CEC::ceckeypress&)}’ [-fpermissive] cec.cpp:649:34: error: invalid conversion from ‘int ()(void_, CEC::ceccommand)’ to ‘CEC::CBCecCommandType {aka int ()(void_, const CEC::ceccommand&)}’ [-fpermissive] cec.cpp:650:47: error: invalid conversion from ‘int ()(void_, CEC::libcecconfiguration)’ to ‘CEC::CBCecConfigurationChangedType {aka int ()(void_, const CEC::libcecconfiguration&)}’ [-fpermissive] cec.cpp:651:32: error: invalid conversion from ‘int ()(void_, CEC::libcec_alert, CEC::libcecparameter)’ to ‘CEC::CBCecAlertType {aka int ()(void_, CEC::libcec_alert, const CEC::libcec_parameter&)}’ [-fpermissive] cec.cpp:653:19: error: ‘CEC::ICECCallbacks’ has no member named ‘CBCecSourceActivated’ cec.cpp:696:10: error: ‘CEC_ALERT_PERMISSION_ERROR’ was not declared in this scope cec.cpp:698:10: error: ‘CEC_ALERT_PORT_BUSY’ was not declared in this scope cec.cpp:700:10: error: ‘CEC_ALERT_PHYSICAL_ADDRESS_ERROR’ was not declared in this scope cec.cpp:702:10: error: ‘CEC_ALERT_TV_POLL_FAILED’ was not declared in this scope error: command 'gcc' failed with exit status 1
Any error on my side ?