Mail Archives: djgpp/2000/05/20/23:15:31
batchex <thedark1NOthSPAM AT phreaker DOT net DOT invalid> wrote:
> I've d/l-ed MESA3D library and trying to compile/install the
> sources with DJGPP under pure DOS. I encountered 2 problems :
>
> 1. The makefile (makefile.dj) in '\src' directory couldn't find
> the file 'depend.dos'. There isn't any such file in '\src'
> directory but there is one in '\src\dos'. Can I use that file
> for making '\src'?
As you have found, the MESA makefiles for DJGPP are terribly broken.
It seems the MESA developers have deprecated makefiles for individual
platforms in favour of a single configure script.
The MESA 3.2 library will build under DJGPP using the configure script
with BASH and several utilities installed, the DJGPP FAQ has a list.
There was a problem in the way one of the scripts built the directory
structure. This is an incompatibilty with the DJGPP /dev/env/DJDIR
feature. Apart from that the library build went very smoothly.
The *big* problem though is that the MESA demos, and every OpenGL
example I have seen, use GLUT. GLUT requires X, which of course is
not supported by DJGPP and so you can't build the demos. So AFAICT
the MESA library is useless for DJGPP, unless you know better??
As Eli suggests, you should try MESA 2.6. I think I built this ok but
there was some reason why I abandoned it (otherwise I would be using
it now ;-)). It could be that it did not support the functions
required by the OpenGL tutorial I was using.
Another option is to use MGL (see the DJGPP FAQ). I tried one of the
MGL 5.0 betas but did not have any success with it. The MGL
installation overwrites the djgpp.env file, which is a Very Bad Thing
to do. Also it seemed to me that MGL is a proprietry API on top of
MESA/OpenGL, which is not what I wanted. I lost interest though, and
never got to prove this.
I think the options left to be investigated are:
* Can OpenGL API be usefully used without GLUT?
* How well does MESA 2.6 work with DJGPP and how up to date is it?
I don't have much time for this now, but my interest could be
rekindled if it looks like OpenGL programming under DJGPP is possible
so please share your experiences.
- Raw text -