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.

configure options

Mostly I haved used --enable-glesv2 instead of --enable-opengl.
But in next couple of days i will fetch all from git a build it again from scratch so I will note all commands and changes to source (As I remeber some Mesa sources needed to ne modified)

The build instructions.

Here is what I did:

1. Start with clean system. I use LFS (Linux from scratch where no X is installed, no png, jpeg libs etc..)
2. Complile and install newest kernel with vmwgfx enabled (DRM driver for VMware Virtual GPU)
I used linux-3.4.7
3. Open http://wayland.freedesktop.org/building.html and next we will follow it
4. Install pkg-config if not installed.
I will install all in /usr/local

Compiling will fail on include/EGL/eglplatform.h - X11/Xlib.h no such file
This is definition of EGLNativeDisplayType, EGLNativePixmapType, EGLNativeWindowType
I resolved this by add #define __GBM__ on begin of header eglplatform.h

Also in src/gallium/auxiliary/pipe-loader/pipe_loader.h
we must add #define HAVE_PIPE_LOADER_DRM
and modify Makefile to compile pipe_loader_drm.c