I'm stuck here now after 4 hours of compile:
sh:
/root/git/kodi/xbmc/windowing/X11/GLContextEGL.cpp: In member function ‘virtual bool CGLContextEGL::Refresh(bool, int, Window, bool&)’:
/root/git/kodi/xbmc/windowing/X11/GLContextEGL.cpp:58:86: error: invalid conversion from ‘Window {aka long unsigned int}’ to ‘EGLNativeWindowType {aka mali_native_window*}’ [-fpermissive]
m_eglSurface = eglCreateWindowSurface(m_eglDisplay, m_eglConfig, glWindow, NULL);
^
In file included from /root/git/kodi/xbmc/windowing/X11/GLContextEGL.h:24:0,
from /root/git/kodi/xbmc/windowing/X11/GLContextEGL.cpp:32:
/usr/include/EGL/egl.h:265:31: note: initializing argument 3 of ‘void* eglCreateWindowSurface(EGLDisplay, EGLConfig, EGLNativeWindowType, const EGLint*)’
EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config,
^
/root/git/kodi/xbmc/windowing/X11/GLContextEGL.cpp:169:86: error: invalid conversion from ‘Window {aka long unsigned int}’ to ‘EGLNativeWindowType {aka mali_native_window*}’ [-fpermissive]
m_eglSurface = eglCreateWindowSurface(m_eglDisplay, m_eglConfig, glWindow, NULL);
^
In file included from /root/git/kodi/xbmc/windowing/X11/GLContextEGL.h:24:0,
from /root/git/kodi/xbmc/windowing/X11/GLContextEGL.cpp:32:
/usr/include/EGL/egl.h:265:31: note: initializing argument 3 of ‘void* eglCreateWindowSurface(EGLDisplay, EGLConfig, EGLNativeWindowType, const EGLint*)’
EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config,
^
build/windowing/X11/CMakeFiles/windowing_X11.dir/build.make:62: recipe for target 'build/windowing/X11/CMakeFiles/windowing_X11.dir/GLContextEGL.cpp.o' failed
make[2]: *** [build/windowing/X11/CMakeFiles/windowing_X11.dir/GLContextEGL.cpp.o] Error 1
CMakeFiles/Makefile2:9551: recipe for target 'build/windowing/X11/CMakeFiles/windowing_X11.dir/all' failed
make[1]: *** [build/windowing/X11/CMakeFiles/windowing_X11.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
I'll continue searching around for answers, but nothing obvious is coming up on google searches.