glTexImage3D missing?

Bernhard Ege bernhard@ege.cc
Wed Aug 30 13:56:00 GMT 2006


I am trying to compile an opengl program and have managed to get all but 
1 error to disappear:

gcc  -o 3dtexture 3dtexture.c -lglut32 -lglu32 -lopengl32
/cygdrive/c/DOCUME~1/bme/LOCALS~1/Temp/ccAhs05G.o:3dtexture.c:(.text+0xa7b): 
undefined reference to `_glTexImage3D@40'
collect2: ld returned 1 exit status
make: *** [3dtexture] Error 1

I have been unable to resolve this error. I did find _glTexImage3D in 
/usr/X11R6/lib/libGL.dll.a but I have been unable to take advantage of it.

How can I solve this error?

Am I missing something obvious? ;-)

/Bernhard

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list