On Sun, Aug 23, 2009 at 03:26:35PM +0200, RALOVICH, Kristóf wrote:
> would someone please suggest me how to build a working EGL setup (with
> ./configure preferably)?
> Is there any way to build a working EGL that does not rely on X, but KMS?
On my machine with i915 and KMS, I can

$ ./configure --disable-{glut,glu,glw} --with-dri-drivers=""
$ make
$ sudo make install

It uses the default config values, and it will compile and install
libGL.so, libEGL.so, and EGL_i915.so.  The libGL.so is a standard linux
libGL with GLX, but we will only need its entry points.  You may as well
delete it.  Then you can run

$ cd progs/egl
$ EGL_DRIVER=/usr/local/lib/dri/EGL_i915.so ./eglgears

-- 
Regards,
olv

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to