Loggytronic Forum

VOMP => VOMP for Raspberry Pi => Topic started by: woz on December 13, 2013, 17:33:09

Title: Problems with building actual GIT version (Sat, 30 Nov 2013 09:54:42)
Post by: woz on December 13, 2013, 17:33:09
Hi there,

when trying to build with the actual GIT version this compiler error occurs:
remotelinux.cc: In member function 'int RemoteLinux::initCec()':
remotelinux.cc:134:34: error: invalid conversion from 'int (*)(void*, const cec_log_message&) {aka int (*)(void*, const CEC::cec_log_message&)}' to 'CEC::CBCecLogMessageType {aka int (*)(void*, CEC::cec_log_message)}' [-fpermissive]
remotelinux.cc:135:32: error: invalid conversion from 'int (*)(void*, const cec_keypress&) {aka int (*)(void*, const CEC::cec_keypress&)}' to 'CEC::CBCecKeyPressType {aka int (*)(void*, CEC::cec_keypress)}' [-fpermissive]
remotelinux.cc:136:31: error: invalid conversion from 'int (*)(void*, const cec_command&) {aka int (*)(void*, const CEC::cec_command&)}' to 'CEC::CBCecCommandType {aka int (*)(void*, CEC::cec_command)}' [-fpermissive]
remotelinux.cc:137:44: error: invalid conversion from 'int (*)(void*, const libcec_configuration&) {aka int (*)(void*, const CEC::libcec_configuration&)}' to 'CEC::CBCecConfigurationChangedType {aka int (*)(void*, CEC::libcec_configuration)}' [-fpermissive]
remotelinux.cc: In member function 'virtual UCHAR RemoteLinux::getButtonPress(int)':
remotelinux.cc:251:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
remotelinux.cc:279:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make[2]: *** [remotelinux.o] Fehler 1

A previous build (with git version 2013-08-21) has been successful
Any suggestions?

Cheers
Wolfgang
Title: Re: Problems with building actual GIT version (Sat, 30 Nov 2013 09:54:42)
Post by: MartenR on December 14, 2013, 09:50:48
No idea, here compiles everything successfully. May be a different cec version?

Marten
Title: Re: Problems with building actual GIT version (Sat, 30 Nov 2013 09:54:42)
Post by: sirwio on December 14, 2013, 15:38:21
That is definitely due to using an "unsupported" version of libcec.

More information here:
http://forum.loggytronic.com/index.php?topic=692.msg4088#msg4088 (http://forum.loggytronic.com/index.php?topic=692.msg4088#msg4088)

- Magnus
Title: Re: Problems with building actual GIT version (Sat, 30 Nov 2013 09:54:42)
Post by: woz on December 14, 2013, 17:14:09
Hmm weird,

i did a reinstallalion of libcec-dev. I'll crosscheck that.

Thx
Wolfgang