#88300
happy
Participant

[quote=87649]Actually the CEC wasn’t working with the kodi that I installed with retropie_setup.sh so I used the following commands to install and compile libCEC for raspberry pi

[/quote]

Hi! I have downloaded the 2.6.0 image of Retropie to my RPi2 and installed Kodi using the Retropie setup script -> Experimental packages -> Kodi.

It works well, but like you I soon noticed that CEC didn’t work. (It works well from Openelec on the same TV/Pi, so nothing hardware-related).

I tried following the steps you list to install libcec, but I run into trouble when trying to execute the ./configure command.

Here’s the output I get:
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… no
checking for mawk… mawk
checking whether make sets $(MAKE)… yes
checking whether make supports nested variables… yes
checking build system type… armv7l-unknown-linux-gnueabihf
checking host system type… armv7l-unknown-linux-gnueabihf
checking for g++… g++
checking whether the C++ compiler works… no
configure: error: in `/home/pi/libcec’:
configure: error: C++ compiler cannot create executables
See `config.log’ for more details

Unfortunately I don’t have the config.log file available right now (not at home), but my faith is strong that the above is enough to tell someone more experienced with this stuff than I am what might be wrong. So, any idea what’s wrong?