This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Need help with a glu problem


I am trying to build a finite element program from source. All goes well
until I get the following error message:

gcc -O2 -Wall -I./ -I/usr/include -I/usr/X11R6/include -c -o
setFunktions.o setFunktions.c
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
setFunktions.c: In function `drawNurl_plot':
setFunktions.c:1286: `GLU_ERROR' undeclared (first use in this function)
setFunktions.c:1286: (Each undeclared identifier is reported only once
setFunktions.c:1286: for each function it appears in.)
setFunktions.c:1286: warning: passing arg 3 of `gluNurbsCallback' from
incompatible pointer type
setFunktions.c: In function `drawNurs_plot':
setFunktions.c:1353: `GLU_ERROR' undeclared (first use in this function)
setFunktions.c:1353: warning: passing arg 3 of `gluNurbsCallback' from
incompatible pointer type
setFunktions.c: In function `senddata':
setFunktions.c:5985: warning: passing arg 4 of `qsort' from incompatible
pointer type
setFunktions.c:6054: warning: passing arg 4 of `qsort' from incompatible
pointer type
make: *** [setFunktions.o] Error 1

I can see where GLU_ERROR is defined in /usr/X11R6/include/GL/glu.h so I
don't understand the reason for the error.
Thanks in advance for any help




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]