Compile error with latest master

Martin Flöser mgraesslin at kde.org
Tue Apr 26 19:51:26 BST 2022


Am Dienstag, 26. April 2022, 13:30:50 CEST schrieb Vlad Zahorodnii:
> On 4/25/22 10:24, Martin Flöser wrote:
> > Hi all,
> > 
> > I tried to compile latest KWin master yesterday, but I'm hitting a compile
> > error I do not understand. CMake does not complain about anything missing.
> > 
> > [714/2304] Building CXX object src/wayland/CMakeFiles/
> > WaylandProtocols_xml.dir/qwayland-server-wayland.cpp.o
> > FAILED: src/wayland/CMakeFiles/WaylandProtocols_xml.dir/qwayland-server-
> > wayland.cpp.o <snip>
> > In file included from /home/martin/build/kwin/src/wayland/qwayland-server-
> > wayland.cpp:4:
> > /home/martin/build/kwin/src/wayland/qwayland-server-wayland.h:8:10: fatal
> > error: wayland-wayland-server-protocol.h: No such file or directory
> > 
> >      8 | #include "wayland-wayland-server-protocol.h"
> >      
> >        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > 
> > compilation terminated.
> > 
> > I get several of those includes not found.
> > 
> > Any hints on what is missing?
> 
> It looks like extra-cmake-modules is out date. Make sure you have
> https://invent.kde.org/frameworks/extra-cmake-modules/-/commit/e4dbfb219c0db
> b6d3d6b888a8a0d964da50595e8

Neon currently provides 01f41fe327e66872a5182db1bbbace805e07df40 which is a 
few days older than your commit. OK, seems I have to wait for neon to update.

Thanks for the info,

Martin







More information about the kwin mailing list