building wayland without X

Samuel Rødal samuel.rodal at nokia.com
Tue May 31 01:29:25 PDT 2011


On 05/21/2011 06:51 AM, ext Karshan Sharma wrote:
> So, has anyone worked out a patch to be able to build mesa without x ?
> ... I was gonna start on that but didnt want to reinvent the wheel.

This seems to work:

export CFLAGS=-DMESA_EGL_NO_X11_HEADERS

./autogen.sh --prefix=$WLD --enable-gles2 --enable-gallium 
--enable-gallium-egl --with-driver=osmesa --with-egl-platforms=wayland 
--enable-gallium-llvm

--
Samuel


More information about the wayland-devel mailing list