[Mesa-dev] failed to compile mesa

CSJ changsijay at gmail.com
Sat Apr 17 20:39:27 PDT 2010


Hello, I am new to mesa,
and I am not sure if compiling issue could post here or not?

I want to build xorg and follow this guide:
http://www.x.org/wiki/Development/BuildingX

but when I build mesa,
It error at:
../../../include/EGL/eglplatform.h:84:22: error: X11/Xlib.h: No such file or
directory
../../../include/EGL/eglplatform.h:85:23: error: X11/Xutil.h: No such file
or directory


and I also tried 7.8 and 7.8.1 are both stop at the same error,
but I can compile 7.7.1 successfully.

I google the message and find some hint here:
http://www.mail-archive.com/blfs-dev@linuxfromscratch.org/msg09459.html

By adding include dir to src/egl/main/Makefile, I can go on,
But error on another file complain  X11/Xlib.h: No such file or directory

How could I fix this error?
X11/Xlib.h: No such file or directory
X11/Xutil.h: No such file or directory

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100418/bc5b77e6/attachment.html>
-------------- next part --------------
        prefix:          /opt/xorg
        exec_prefix:     ${prefix}
        libdir:          ${exec_prefix}/lib
        includedir:      ${prefix}/include

        Driver:          dri
        OSMesa:          no
        DRI drivers:     i810 i915 i965 mach64 mga r128 r200 r300 r600 radeon savage sis tdfx unichrome swrast
        DRI driver dir:  ${libdir}/dri
        Use XCB:         yes

        Gallium:         yes
        Gallium dirs:    auxiliary drivers state_trackers
        Target dirs:      dri-i915 dri-i965 egl-i915 egl-i965 dri-swrast egl-swrast
        Winsys dirs:     sw sw/xlib sw/dri sw/drm i915/sw i915/drm i965/drm
        Driver dirs:     softpipe failover trace identity svga i915 i965 r300
        Trackers dirs:   dri egl

        Shared libs:     yes
        Static libs:     no
        EGL:             glx dri2
        GLU:             yes
        GLw:             yes (Motif: no)
        glut:            yes
        Demos:           xdemos egl/opengl demos redbook samples glsl



../../../include/EGL/eglplatform.h:84:22: error: X11/Xlib.h: No such file or directory
../../../include/EGL/eglplatform.h:85:23: error: X11/Xutil.h: No such file or directory
In file included from ../../../include/EGL/egl.h:36,
                 from egltypedefs.h:6,
                 from eglcontext.h:5,
                 from eglapi.c:59:


More information about the mesa-dev mailing list