www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/20/23:15:31

From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: MESA3D compiling problem
Date: Sun, 21 May 2000 02:13:31 +0100
Organization: Customer of Planet Online
Lines: 46
Message-ID: <dhdeis00vuu9qckbkg43n0e4tninpcc488@4ax.com>
References: <077d656d DOT 7a4ca6fd AT usw-ex0108-063 DOT remarq DOT com>
NNTP-Posting-Host: modem-189.silicon.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: news7.svr.pol.co.uk 958871705 9787 62.136.13.189 (21 May 2000 01:15:05 GMT)
NNTP-Posting-Date: 21 May 2000 01:15:05 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Agent 1.7/32.534
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019