2019-09-30, 13:03
Hi,
I'm trying to build kodi for wayland on a raspberry 4 running Manjaro Linux.
While the build for X11 was rather easy, this one ends in some crude error messages.
git clone git://github.com/xbmc/xbmc.git kodi-wayland
cd $HOME/kodi-wayland
sudo make -C tools/depends/target/crossguid PREFIX=/usr/local
sudo make -C tools/depends/target/flatbuffers PREFIX=/usr/local
sudo make -C tools/depends/target/libfmt PREFIX=/usr/local
sudo make -C tools/depends/target/wayland-protocols PREFIX=/usr/local
sudo make -C tools/depends/target/waylandpp PREFIX=/usr/local
cd $HOME/kodi-build
cmake ../kodi-wayland -DCMAKE_INSTALL_PREFIX=/usr/local -DCORE_PLATFORM_NAME=wayland -DWAYLAND_RENDER_SYSTEM=gl -DENABLE_INTERNAL_FSTRCMP=1
cmake --build . -- VERBOSE=1 -j$(getconf _NPROCESSORS_ONLN)
First error is:
/usr/bin/ld.gold: error: cannot find -lpthreads
CMakeFiles/cmTC_03fdb.dir/CheckFunctionExists.c.o:CheckFunctionExists.c:function main: error: undefined reference to 'pthread_create'
when re-running the build, another error (probably a subsequent one) comes up:
No rule exists for the target "/protocols/presentation-time.xml",
needed to create from "wayland-extra-protocols.hpp"
I'm somewhat confused ... somewhere I read pthreads (note the tailing "s") was not available on Linux
I'm trying to build kodi for wayland on a raspberry 4 running Manjaro Linux.
While the build for X11 was rather easy, this one ends in some crude error messages.
git clone git://github.com/xbmc/xbmc.git kodi-wayland
cd $HOME/kodi-wayland
sudo make -C tools/depends/target/crossguid PREFIX=/usr/local
sudo make -C tools/depends/target/flatbuffers PREFIX=/usr/local
sudo make -C tools/depends/target/libfmt PREFIX=/usr/local
sudo make -C tools/depends/target/wayland-protocols PREFIX=/usr/local
sudo make -C tools/depends/target/waylandpp PREFIX=/usr/local
cd $HOME/kodi-build
cmake ../kodi-wayland -DCMAKE_INSTALL_PREFIX=/usr/local -DCORE_PLATFORM_NAME=wayland -DWAYLAND_RENDER_SYSTEM=gl -DENABLE_INTERNAL_FSTRCMP=1
cmake --build . -- VERBOSE=1 -j$(getconf _NPROCESSORS_ONLN)
First error is:
/usr/bin/ld.gold: error: cannot find -lpthreads
CMakeFiles/cmTC_03fdb.dir/CheckFunctionExists.c.o:CheckFunctionExists.c:function main: error: undefined reference to 'pthread_create'
when re-running the build, another error (probably a subsequent one) comes up:
No rule exists for the target "/protocols/presentation-time.xml",
needed to create from "wayland-extra-protocols.hpp"
I'm somewhat confused ... somewhere I read pthreads (note the tailing "s") was not available on Linux