[offtopic] esdl
Greetings,
I'm trying to compile "esdl" the erlange binding for the SDL library
in order to get wings3d (a 3d modeler to work) to work.
No Debian Packages :(
The compile always barfs at this point:
gcc -c -g -O2 -funroll-loops -Wall -ffast-math -fpic -DSHM -DPTHREADS
-I/usr/include/ -I/usr/include/SDL -D_REENTRANT esdl_opengl.c
gcc -c -g -O2 -funroll-loops -Wall -ffast-math -fpic -DSHM -DPTHREADS
-I/usr/include/ -I/usr/include/SDL -D_REENTRANT esdl_glu.c
esdl_glu.c:32: parse error before `GLUtesselator'
esdl_glu.c:32: warning: no semicolon at end of struct or union
esdl_glu.c:34: parse error before `}'
esdl_glu.c:34: warning: type defaults to `int' in declaration of
`eglu_tessobj'
esdl_glu.c:34: warning: data definition has no type or storage class
here's the relevant part of the program
#ifdef _OSX_COCOA
#include <OpenGL/glu.h>
#else
#include <GL/glu.h>
#endif
typedef struct _tessdata3 * eglu_tessdata_ptr;
typedef struct _tessdata3 {
eglu_tessdata_ptr next;
GLdouble data[3];
} eglu_tessdata;
typedef struct _tessobj {
GLUtesselator *tess;
eglu_tessdata *data;
} eglu_tessobj;
I don't see anything wrong here!! and its been driving me nuts.
Anybody have any suggestions??
Thanks in advance,
Roy Pluschke
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: