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]

OpenGL, undefined references


Hi,

I have searched everywhere I can think of and have found some similar 
questions but nothing that has worked for me yet. Here is what happens when I 
try to compile a program using opengl libraries, etc under cygwin. Can anyone 
offer some suggestions? Thank you.

Matt Berkemeier

cc -c -I/usr/include -I. quad-animate.c
cc -c -I/usr/include -I. windowdump.c
cc quad-animate.o windowdump.o -L/usr/freeware/lib \
-L/usr/X11R6/lib/ -lglut \
-lGLU -lGL -lXmu -lXext -lX11 -lm -o quad-animate
quad-animate.o(.text+0xd2):quad-animate.c: undefined reference to `_glClear@4'
quad-animate.o(.text+0xda):quad-animate.c: undefined reference to 
`_glPushMatrix@0'
quad-animate.o(.text+0xf9):quad-animate.c: undefined reference to 
`_glColor3f@12'
quad-animate.o(.text+0x124):quad-animate.c: undefined reference to 
`_glRectf@16'

<remaining undefined references deleted>



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