[Mesa-dev] failed to compile mesa

Joakim Sindholt bacn at zhasha.com
Sun Apr 18 04:31:49 PDT 2010


Install the X11/Xlib development headers with your distributions package
manager.

On Sun, 2010-04-18 at 11:39 +0800, CSJ wrote:
> 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
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev




More information about the mesa-dev mailing list