Le 04/03/2020 à 17:38, Pierre Labastie via blfs-dev a écrit : > I get: > --- > cogl-texture-2d.c: In function ‘cogl_wayland_texture_2d_new_from_buffer’: > cogl-texture-2d.c:392:11: warning: implicit declaration of function > ‘_cogl_egl_query_wayland_buffer’ [-Wimplicit-function-declaration] > 392 | if (_cogl_egl_query_wayland_buffer (ctx, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > cogl-texture-2d.c:430:43: error: ‘EGL_WAYLAND_BUFFER_WL’ undeclared (first use > in this function) > 430 | EGL_WAYLAND_BUFFER_WL, > | ^~~~~~~~~~~~~~~~~~~~~ > cogl-texture-2d.c:430:43: note: each undeclared identifier is reported only > once for each function it appears in > --- > The reason is that some egl headers have been moved around: see commit > eaf43966027cf96 in mesa tree. > > There seems to be a patch: > > https://gitlab.gnome.org/GNOME/cogl/-/merge_requests/17.diff > > Will try and let you know. Note that it is related to the mutter patch > proposed by Douglas, which does not seem to be integrated into the book, yet. > > See https://gitlab.gnome.org/GNOME/cogl/issues/11 and links for some > discussions. >
The patch allowed to build (needs autoreconf). Committed to the patch repo at r4076 (allow for one day to have it at the link on the cogl page), and cogl fixed at r22796. Pierre Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
