This is the mail archive of the cygwin-xfree 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]

glTexImage3D missing?


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/


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