NVIDIA / egl-wayland

The EGLStream-based Wayland external platform
MIT License
275 stars 44 forks source link

/src/wayland-eglsurface.c:1521:10: error: use of undeclared identifier 'EGL_WAYLAND_Y_INVERTED_WL' #25

Closed tpgxyz closed 4 years ago

tpgxyz commented 4 years ago

I'm compiling egl-wayland-1.14 with LLVM/clang and latest wayland-1.18.0

All the details can be found here: https://abf.openmandriva.org/build_lists/713883

FAILED: src/25a6634@@nvidia-egl-wayland@sha/wayland-eglsurface.c.o 
/usr/bin/clang -Isrc/25a6634@@nvidia-egl-wayland@sha -Isrc -I../src -I../include -I../wayland-egl -Iwayland-eglstream -I/usr/include/EGL -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wall -fvisibility=hidden -DWL_HIDE_DEPRECATED -Wno-pedantic -Os -fomit-frame-pointer -g1 -Wstrict-aliasing=2 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -m64 -mtune=generic -flto -fPIC -pthread -MD -MQ 'src/25a6634@@nvidia-egl-wayland@sha/wayland-eglsurface.c.o' -MF 'src/25a6634@@nvidia-egl-wayland@sha/wayland-eglsurface.c.o.d' -o 'src/25a6634@@nvidia-egl-wayland@sha/wayland-eglsurface.c.o' -c ../src/wayland-eglsurface.c
../src/wayland-eglsurface.c:1521:10: error: use of undeclared identifier 'EGL_WAYLAND_Y_INVERTED_WL'
    case EGL_WAYLAND_Y_INVERTED_WL:
         ^
1 error generated.
erik-kz commented 4 years ago

Thanks for the report (and associated patches). This should be resolved by https://github.com/NVIDIA/egl-wayland/commit/4a343a4b563e84c6258efbddf1d910f9dd6e0300.