I am cross compiling kodi and I am having issues with libcec thinking I am compiling for raspberry pi when I am not. I am targeting arm but not a PI. Kodi using libcec 4.0.7.
Output of make:
-- Configured features:
-- Pulse-Eight CEC Adapter: yes
-- Pulse-Eight CEC Adapter detection: yes
-- xrandr support: no
-- Raspberry Pi support: yes
-- TDA995x support: no
-- Exynos support: no
-- DRM support: yes
-- Linux support: no
-- AOCEC support: no
-- i.MX6 support: no
-- Python support: no
Some configurations it generated:
build/CMakeCache.txt:HAVE_RPI_API:BOOL=ON
src/libcec/env.h:#define HAVE_RPI_API ON
This leads to a compilation failure and it ends:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
RPI_BCM_HOST
linked by target "cec" in directory /snip/src/libcec
RPI_VCHIQ_ARM
linked by target "cec" in directory /snip/src/libcec
RPI_VCOS
linked by target "cec" in directory /snip/src/libcec
If I comment out RPI_BCM_HOST/RPI_VCHIQ_ARM/RPI_VCOS in src/libcec/cmake/LinkPlatformSupport.cmake I can at least get past this but this will ultimately lead to a compilation failure in:
I am cross compiling kodi and I am having issues with libcec thinking I am compiling for raspberry pi when I am not. I am targeting arm but not a PI. Kodi using libcec 4.0.7.
Output of make:
Some configurations it generated:
This leads to a compilation failure and it ends:
If I comment out RPI_BCM_HOST/RPI_VCHIQ_ARM/RPI_VCOS in src/libcec/cmake/LinkPlatformSupport.cmake I can at least get past this but this will ultimately lead to a compilation failure in:
How do I fix this? I do not not have the raspberry headers installed as I don't need them?