Mail Archives: djgpp/2000/05/21/15:45:23
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 -