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

X-Originating-Host: 202.137.2.145
Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here
Subject: Re: MESA3D compiling problem
Lines: 73
From: batchex <thedark1NOthSPAM AT phreaker DOT net DOT invalid>
Newsgroups: comp.os.msdos.djgpp
Message-ID: <04d58d13.fad704cb@usw-ex0108-063.remarq.com>
References: <077d656d DOT 7a4ca6fd AT usw-ex0108-063 DOT remarq DOT com> <dhdeis00vuu9qckbkg43n0e4tninpcc488 AT 4ax DOT com>
Bytes: 2840
X-Wren-Trace: eE5rQ0JbHFYdGlJDTw9dTA19TkNZTw9TTlAPQ0JOF1wRGkAeE1kVEgweHh4=
Date: Sun, 21 May 2000 12:36:18 -0700
NNTP-Posting-Host: 10.0.2.63
X-Complaints-To: wrenabuse AT remarq DOT com
X-Trace: WReNphoon3 958938469 10.0.2.63 (Sun, 21 May 2000 12:47:49 PDT)
NNTP-Posting-Date: Sun, 21 May 2000 12:47:49 PDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <dhdeis00vuu9qckbkg43n0e4tninpcc488 AT 4ax DOT com>, Jason
Green <news AT jgreen4 DOT fsnet DOT co DOT uk> wrote:

>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.
>
Under what section?

More over, I successfully work around this problem by copying
the contents of '\include' to DJGPP's installation '\include'.
Now, the following problem arises :

1. gcc can't find the file 'DOSdosmesa.c' to compile, which is a
mistake. The file reside in '\dos\dosmesa.c' but gcc or make
errorly interperet 'GL_LIB = DOS\dosmesa.c' as 'DOSdosmesa.c'.
The workaround is changing it to 'GL_LIB = DOS/dosmesa.c'. Is
this mistake normal?

2. gcc can't find the includes of 'dosmesa.c' like 'types.h'
etc. 'dosmesa.c' resides in '\src\dos' and the includes resides
in '\src'. So I change the includes to '#include "../types.h"'
and so on.

3. Still in compiling 'dosmesa.c'. gcc reports errors like the
following :

DOS/dosmesa.c: In function `set_buffer':
DOS/dosmesa.c:1012: `buffer' undeclared (first use this function)
DOS/dosmesa.c:1012: (Each undeclared identifier is reported only
once
DOS/dosmesa.c:1012: for each function it appears in.)
DOS/dosmesa.c: In function `DOSmesa_setup_DD_pointers':
DOS/dosmesa.c:1325: warning: assignment from incompatible
pointer type
DOS/dosmesa.c:1340: structure has no member named
`WriteColorSpan'
DOS/dosmesa.c:1341: structure has no member named
`WriteMonocolorSpan'
DOS/dosmesa.c:1342: structure has no member named
`WriteColorPixels'
DOS/dosmesa.c:1343: structure has no member named
`WriteMonocolorPixels'
DOS/dosmesa.c:1344: structure has no member named
`WriteIndexSpan'
DOS/dosmesa.c:1345: structure has no member named
`WriteMonoindexSpan'
DOS/dosmesa.c:1346: structure has no member named
`WriteIndexPixels'
DOS/dosmesa.c:1347: structure has no member named
`WriteMonoindexPixels'
DOS/dosmesa.c:1351: structure has no member named `ReadIndexSpan'
DOS/dosmesa.c:1352: structure has no member named `ReadColorSpan'
DOS/dosmesa.c:1353: structure has no member named
`ReadIndexPixels'
DOS/dosmesa.c:1354: structure has no member named
`ReadColorPixels'
DOS/dosmesa.c: In function `DOSMesaCreateContext':
DOS/dosmesa.c:1421: too many arguments to function
`gl_create_visual'
DOS/dosmesa.c:1426: too few arguments to function
`gl_create_context'
make.exe: *** [DOS/dosmesa.o] Error 1

This confuses me 'cause I'm not familar with Mesa's code. Help.

As for GLUT, I have no intentions, at least not yet, to use it.
I'm planning only to use GL and GLU libs. Anyone have tuts on
OpenGL using only GL and GLU?

* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!

- Raw text -


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