2023-01-16, 18:37
Now onto building kodi itself. More errors it would seem. Code is up to date as of d9b42edb02c7391f9c9dd9033fbe0108d031f5b9 (today):
I've tried cloning Nexus branch instead, seeing as master is WIP and see if that works.
Quote:[ 48%] Building CXX object build/cores/RetroPlayer/savestates/CMakeFiles/retroplayer_savestates.dir/SavestateFlatBuffer.cpp.o
cd /home/xbmc/kodi-build/build/cores/RetroPlayer/savestates && /usr/bin/aarch64-linux-gnu-g++ -DHAS_NEON -I/home/xbmc/kodi-build -I/home/xbmc/kodi -I/home/xbmc/kodi/lib -I/home/xbmc/kodi/xbmc -I/home/xbmc/kodi/xbmc/platform/linux -I/home/xbmc/kodi/xbmc/cores/VideoPlayer -I/home/xbmc/kodi-build/build -I/home/xbmc/kodi-build/build/include -I/home/xbmc/kodi/xbmc/platform/posix -isystem /home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/dbus-1.0 -isystem /home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/lib/dbus-1.0/include -isystem /home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/pipewire-0.3 -isystem /home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/spa-0.2 -isystem /home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/python3.11 -isystem /home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/samba-4.0 -isystem /home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/libxml2 -isystem /home/xbmc/kodi-build/build/cores/RetroPlayer/messages -isystem /home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/freetype2 -isystem /home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/fribidi -isystem /home/xbmc/kodi/xbmc/contrib -isystem /home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/lzo -isystem /home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/libdrm -fPIC -DPIC -Og -g -D_DEBUG -std=c++17 -isystem /home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include -gsplit-dwarf -Wall -Wdouble-promotion -Wmissing-field-initializers -Wsign-compare -Wextra -Wno-unused-parameter -Wno-cast-function-type -Wnon-virtual-dtor -fPIC -DPIC -Og -g -D_DEBUG -isystem /home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_HEAP=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 -D__STDC_CONSTANT_MACROS -D_FILE_OFFSET_BITS=64 -DHAS_POSIX_NETWORK -DHAS_LINUX_NETWORK -DHAS_BUILTIN_SYNC_ADD_AND_FETCH=1 -DHAS_BUILTIN_SYNC_SUB_AND_FETCH=1 -DHAS_BUILTIN_SYNC_VAL_COMPARE_AND_SWAP=1 -DHAVE_INOTIFY=1 -DHAVE_POSIX_FADVISE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_INTTYPES_H=1 -DHAS_ALSA=1 -DHAVE_LIBBLURAY=1 -DHAVE_LIBBLURAY_BDJ=1 -DHAVE_LIBCEC=1 -DHAS_DBUS=1 -DHAS_ISO9660PP=1 -DHAS_WEB_SERVER=1 -DHAS_WEB_INTERFACE=1 -DHAS_FILESYSTEM_NFS=1 -DHAS_PIPEWIRE=1 -DHAS_AIRPLAY=1 -DHAS_PYTHON=1 -DHAS_FILESYSTEM_SMB=1 -DHAVE_LIBUDEV=1 -DHAS_UDFREAD=1 -DHAVE_LIBXSLT=1 -DHAVE_NEW_CROSSGUID -DFFMPEG_VER_SHA=\"5.0.0\" -DSPDLOG_FMT_EXTERNAL -DSPDLOG_DEBUG_ON -DSPDLOG_NO_ATOMIC_LEVELS -DSPDLOG_ENABLE_PATTERN_PADDING -DSPDLOG_COMPILED_LIB -DHAVE_WAYLAND=1 -DHAS_GLES=3 -DHAS_EGL=1 -DHAVE_GBM=1 -DHAS_GBM_BO_MAP=1 -DHAS_GBM_MODIFIERS=1 -DHAS_MARIADB=1 -DHAS_UPNP=1 -DHAS_DVD_DRIVE -DHAS_CDDA_RIPPER -DHAS_AIRTUNES=1 -DBIN_INSTALL_PATH=\"/home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/lib/kodi\" -DINSTALL_PATH=\"/home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/share/kodi\" -Werror=double-promotion -Werror=missing-field-initializers -Werror=sign-compare -std=c++17 -MD -MT build/cores/RetroPlayer/savestates/CMakeFiles/retroplayer_savestates.dir/SavestateFlatBuffer.cpp.o -MF CMakeFiles/retroplayer_savestates.dir/SavestateFlatBuffer.cpp.o.d -o CMakeFiles/retroplayer_savestates.dir/SavestateFlatBuffer.cpp.o -c /home/xbmc/kodi/xbmc/cores/RetroPlayer/savestates/SavestateFlatBuffer.cpp
In file included from /home/xbmc/kodi/xbmc/cores/RetroPlayer/savestates/SavestateFlatBuffer.cpp:12:
/home/xbmc/kodi-build/build/cores/RetroPlayer/messages/savestate_generated.h: In member function ‘bool KODI::RETRO::Savestate::Verify(flatbuffers::Verifier&) const’:
/home/xbmc/kodi-build/build/cores/RetroPlayer/messages/savestate_generated.h:102:32: error: no matching function for call to ‘KODI::RETRO::Savestate::VerifyField<uint8_t>(flatbuffers::Verifier&, KODI::RETRO::Savestate::FlatBuffersVTableOffset, int) const’
102 | VerifyField<uint8_t>(verifier, VT_VERSION, 1) &&
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/xbmc/kodi/xbmc/cores/RetroPlayer/savestates/SavestateFlatBuffer.h:15,
from /home/xbmc/kodi/xbmc/cores/RetroPlayer/savestates/SavestateFlatBuffer.cpp:9:
/home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/flatbuffers/flatbuffers.h:2643:8: note: candidate: ‘template<class T> bool flatbuffers::Table::VerifyField(const flatbuffers::Verifier&, flatbuffers::voffset_t) const’
2643 | bool VerifyField(const Verifier &verifier, voffset_t field) const {
| ^~~~~~~~~~~
/home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/flatbuffers/flatbuffers.h:2643:8: note: candidate expects 2 arguments, 3 provided
/home/xbmc/kodi-build/build/cores/RetroPlayer/messages/savestate_generated.h:103:32: error: no matching function for call to ‘KODI::RETRO::Savestate::VerifyField<uint8_t>(flatbuffers::Verifier&, KODI::RETRO::Savestate::FlatBuffersVTableOffset, int) const’
103 | VerifyField<uint8_t>(verifier, VT_TYPE, 1) &&
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/flatbuffers/flatbuffers.h:2643:8: note: candidate: ‘template<class T> bool flatbuffers::Table::VerifyField(const flatbuffers::Verifier&, flatbuffers::voffset_t) const’
2643 | bool VerifyField(const Verifier &verifier, voffset_t field) const {
| ^~~~~~~~~~~
/home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/flatbuffers/flatbuffers.h:2643:8: note: candidate expects 2 arguments, 3 provided
/home/xbmc/kodi-build/build/cores/RetroPlayer/messages/savestate_generated.h:104:32: error: no matching function for call to ‘KODI::RETRO::Savestate::VerifyField<uint8_t>(flatbuffers::Verifier&, KODI::RETRO::Savestate::FlatBuffersVTableOffset, int) const’
104 | VerifyField<uint8_t>(verifier, VT_SLOT, 1) &&
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/flatbuffers/flatbuffers.h:2643:8: note: candidate: ‘template<class T> bool flatbuffers::Table::VerifyField(const flatbuffers::Verifier&, flatbuffers::voffset_t) const’
2643 | bool VerifyField(const Verifier &verifier, voffset_t field) const {
| ^~~~~~~~~~~
/home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/flatbuffers/flatbuffers.h:2643:8: note: candidate expects 2 arguments, 3 provided
/home/xbmc/kodi-build/build/cores/RetroPlayer/messages/savestate_generated.h:111:33: error: no matching function for call to ‘KODI::RETRO::Savestate::VerifyField<uint64_t>(flatbuffers::Verifier&, KODI::RETRO::Savestate::FlatBuffersVTableOffset, int) const’
111 | VerifyField<uint64_t>(verifier, VT_TIMESTAMP_FRAMES, 8) &&
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/flatbuffers/flatbuffers.h:2643:8: note: candidate: ‘template<class T> bool flatbuffers::Table::VerifyField(const flatbuffers::Verifier&, flatbuffers::voffset_t) const’
2643 | bool VerifyField(const Verifier &verifier, voffset_t field) const {
| ^~~~~~~~~~~
/home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/flatbuffers/flatbuffers.h:2643:8: note: candidate expects 2 arguments, 3 provided
/home/xbmc/kodi-build/build/cores/RetroPlayer/messages/savestate_generated.h:112:33: error: no matching function for call to ‘KODI::RETRO::Savestate::VerifyField<uint64_t>(flatbuffers::Verifier&, KODI::RETRO::Savestate::FlatBuffersVTableOffset, int) const’
112 | VerifyField<uint64_t>(verifier, VT_TIMESTAMP_WALL_CLOCK_NS, 8) &&
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/flatbuffers/flatbuffers.h:2643:8: note: candidate: ‘template<class T> bool flatbuffers::Table::VerifyField(const flatbuffers::Verifier&, flatbuffers::voffset_t) const’
2643 | bool VerifyField(const Verifier &verifier, voffset_t field) const {
| ^~~~~~~~~~~
/home/xbmc/opt/xbmc-deps/aarch64-linux-gnu-debug/include/flatbuffers/flatbuffers.h:2643:8: note: candidate expects 2 arguments, 3 provided
make[2]: *** [build/cores/RetroPlayer/savestates/CMakeFiles/retroplayer_savestates.dir/build.make:90: build/cores/RetroPlayer/savestates/CMakeFiles/retroplayer_savestates.dir/SavestateFlatBuffer.cpp.o] Error 1
make[2]: Leaving directory '/home/xbmc/kodi-build'
make[1]: *** [CMakeFiles/Makefile2:8660: build/cores/RetroPlayer/savestates/CMakeFiles/retroplayer_savestates.dir/all] Error 2
make[1]: Leaving directory '/home/xbmc/kodi-build'
make: *** [Makefile:136: all] Error 2
I've tried cloning Nexus branch instead, seeing as master is WIP and see if that works.