If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

MESA EGL lacks some macro, wayland can't complete.

05-12-2010, 03:48 AM

EGL_IMAGE_WIDTH_INTEL, EGLDisplayTypeDRMMESA

where is it come from? thanks.

wayland-system-compositor.c:677: error: ‘EGL_IMAGE_WIDTH_INTEL’ undeclared (first use in this function)
wayland-system-compositor.c:677: error: (Each undeclared identifier is reported only once
wayland-system-compositor.c:677: error: for each function it appears in.)
wayland-system-compositor.c:678: error: ‘EGL_IMAGE_HEIGHT_INTEL’ undeclared (first use in this function)
wayland-system-compositor.c:679: error: ‘EGL_IMAGE_NAME_INTEL’ undeclared (first use in this function)
wayland-system-compositor.c:680: error: ‘EGL_IMAGE_STRIDE_INTEL’ undeclared (first use in this function)
wayland-system-compositor.c:681: error: ‘EGL_IMAGE_FORMAT_INTEL’ undeclared (first use in this function)
wayland-system-compositor.c:712: error: ‘EGL_SYSTEM_IMAGE_INTEL’ undeclared (first use in this function)
wayland-system-compositor.c:713: warning: passing argument 3 of ‘eglCreateImageKHR’ makes integer from pointer without a cast
/usr/include/EGL/eglext.h:84: note: expected ‘EGLenum’ but argument is of type ‘EGLint *’
wayland-system-compositor.c: In function ‘init_egl’:
wayland-system-compositor.c:1078: error: ‘EGLDisplayTypeDRMMESA’ undeclared (first use in this function)
wayland-system-compositor.c:1078: warning: statement with no effect
wayland-system-compositor.c:1078: error: expected ‘;’ before ‘display’
wayland-system-compositor.c:1081: error: ‘display’ undeclared (first use in this function)
wayland-system-compositor.c:1081: error: request for member ‘type’ in something not a structure or union
wayland-system-compositor.c:1081: error: ‘EGL_DISPLAY_TYPE_DRM_MESA’ undeclared (first use in this function)
wayland-system-compositor.c:1081: warning: statement with no effect