https://bugs.kde.org/show_bug.cgi?id=373097

            Bug ID: 373097
           Summary: kwin fails to compile, due to strange issues with Mesa
                    headers
           Product: kwin
           Version: git master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: core
          Assignee: kwin-bugs-n...@kde.org
          Reporter: bluescreenaven...@gmail.com
  Target Milestone: ---

Hi

I am getting the following build output when trying to compile kwin

It seems to involve the mesa headers, I'm not sure if I have something that is
suddenly configured wrong, as I have been encountering more issues with compile
errors coming from them... I am using Debian Testing, but a hand built mesa

[ 83%] Built target kdeinit_kwin_x11
/srcbuild/kwin/plugins/platforms/x11/common/eglonxbackend.cpp: In member
function ‘bool KWin::EglOnXBackend::initRenderingContext()’:
/srcbuild/kwin/plugins/platforms/x11/common/eglonxbackend.cpp:194:33: error:
invalid conversion from ‘Display* {aka _XDisplay*}’ to ‘EGLNativeDisplayType
{aka int}’ [-fpermissive]
             dpy = eglGetDisplay(m_x11Display);
                                 ^
/srcbuild/kwin/plugins/platforms/wayland/egl_wayland_backend.cpp: In member
function ‘bool KWin::EglWaylandBackend::initializeEgl()’:
/srcbuild/kwin/plugins/platforms/wayland/egl_wayland_backend.cpp:86:55: error:
invalid conversion from ‘wl_display*’ to ‘EGLNativeDisplayType {aka int}’
[-fpermissive]
             display = eglGetDisplay(m_wayland->display());
                                                       ^
/srcbuild/kwin/plugins/platforms/x11/common/eglonxbackend.cpp: In member
function ‘void* KWin::EglOnXBackend::createSurface(xcb_window_t)’:
/srcbuild/kwin/plugins/platforms/x11/common/eglonxbackend.cpp:271:81: error:
invalid conversion from ‘xcb_window_t {aka unsigned int}’ to
‘EGLNativeWindowType {aka void*}’ [-fpermissive]
         surface = eglCreateWindowSurface(eglDisplay(), config(), window,
nullptr);
                                                                               
 ^
Scanning dependencies of target KWinIntegrationTestFramework
[ 83%] Building CXX object
autotests/integration/CMakeFiles/KWinIntegrationTestFramework.dir/kwin_wayland_test.cpp.o

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to