Problems with building/compiling Kodi on Xubuntu 24.04 (flatbuffers)



I am trying to compile/build Kodi (master branch) and I am running into build errors. My steps are as follows:

– install all dependencies according to the wiki
– git clone https://github.com/xbmc/xbmc kodi
– cd kodi
– cmake ../kodi -DCMAKE_INSTALL_PREFIX=/usr/local -DCORE_PLATFORM_NAME=x11 -DAPP_RENDER_SYSTEM=gl -DENABLE_INTERNAL_FLATBUFFERS=OFF
(flatbuffers integration switch based on the comment in this thread here
– cmake –build . — VERBOSE=1 -j$(getconf _NPROCESSORS_ONLN) 2>> output.txt

The stderr output is here: paste

I’m not an expert but shouldn’t the flatbuffers switch in the cmake statement point to the already installed flatbuffers version of Ubuntu? The one I have on my system is version 2.0.8 while it seems that the build process still wants version 23 and then fumbles.

Any help would be greatly appreciated.