On Mon, Mar 08, 2004 at 10:58:28PM +0100, Jan Gukelberger wrote:
> Hi,
> I'm trying to compile DirectFBGL from current cvs following the
> instructions in the README but I have encountered some problems.
> 
> First of all (minor annotation), Mesa CVS has moved from SF to
> freedesktop.org - perhaps someone could update the README?
> 
> Second, if I check out 'Mesa' from the embedded-2-branch, 
> $ make -f Makefile.X11 linux-x86
> immediately fails because there is no Makefile of any kind in src.

> Then I tried the embedded-2-branch with 'Mesa-oldtree'. After fixing
> some permissions (chmod a+x bin/mklib*) 
> $ make linux

You should simply do 'make'.

> actually succeeded (linux-x86 failed with CPP errors in the asm sources
> in src/X86, probably a gcc version issue), but configuring DirectFBGL
> failed with
> 'configure: error:  *** ../Mesa-oldtree//src/miniglx/miniglxP.h has not
> been found!'

Which mean Mesa hasn't been built correctly.

> Looking for the missing file I realized that the whole src/miniglx
> directory is empty.
> Moreover, even in src/kernel there aren't any modules or sources, only
> empty directories.

Maybe these got nuked when the repository was moved :(

> So my final question is: Where do I find a compileable Mesa tree with
> which I can compile a working DirectFBGL?

I've uploaded a tarball of my Mesa tree to http://www.sci.fi/~syrjala/gl/

It is quite a bit different than the original from embedded-2-branch.

It includes all of my mga driver updates that can be found in Mesa cvs. 
These include at least texture_env_combine extension and a big number of 
bugfixes. Maybe something else too I don't honestly remember everything...

It also includes stuff not yet in Mesa cvs. Anisotropic filtering, 15bpp 
depth + 1bpp stencil buffer, indexed vertex support and triangle 
strip/fan support. Also I've updated the drm module to the latest 
"official" code. I also did some other changes like made it use async 
DMA, some changes for strip/fan support and a little workaround for 
anisotropic filtering instability.

Oh and it also includes the quake3 GLX hack by dok. This introduces a 
circular dependency which means that you have to first do make in the Mesa 
dir and it will stop at some point and complain about missing 
directfbgl.h. Now you can build and install DirectFBGL and after that you 
can do make in the Mesa dir again to finish the build.

I tried to clean it up a bit before releasing. Hopefully I didn't break 
anything (at least it builds). The drm module doesn't build on 2.6 kernel 
so I didn't actually test it after the cleanup.

PS.
In the same dir on my website you can also grab a DirectFBGL port of 
freeglut. It's a full featured GLUT implementation unlike glut-directfb.

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/


--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-users" as subject.

Reply via email to