Re: Compile error with latest master

Martin Flöser <[email protected]> Tue, 26 Apr 2022 20:51:26 +0200
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <7421431.TUhyfT4BbO@martin-yoga>
Am Dienstag, 26. April 2022, 13:30:50 CEST schrieb Vlad Zahorodnii:
> On 4/25/22 10:24, Martin Fl=F6ser wrote:
> > Hi all,
> >=20
> > I tried to compile latest KWin master yesterday, but I'm hitting a comp=
ile
> > error I do not understand. CMake does not complain about anything missi=
ng.
> >=20
> > [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-serv=
er-
> > wayland.cpp:4:
> > /home/martin/build/kwin/src/wayland/qwayland-server-wayland.h:8:10: fat=
al
> > error: wayland-wayland-server-protocol.h: No such file or directory
> >=20
> >      8 | #include "wayland-wayland-server-protocol.h"
> >     =20
> >        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >=20
> > compilation terminated.
> >=20
> > I get several of those includes not found.
> >=20
> > Any hints on what is missing?
>=20
> It looks like extra-cmake-modules is out date. Make sure you have
> https://invent.kde.org/frameworks/extra-cmake-modules/-/commit/e4dbfb219c=
0db
> b6d3d6b888a8a0d964da50595e8

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

Thanks for the info,

Martin