gcc, opengl, glut, GL & GLU

Samuel Mahy mahy@student.fsa.ucl.ac.be
Sat Nov 23 15:03:00 GMT 2002


hi,

Can you tell me how to compile a C file which use the 
following libraries :

GL
GLU
glut

I have tried with : 

gcc -o file -Wall -lglut -lGL -lGLU file.c

but I recieved the following message : 

/usr/lib/gcc-lib/i686-pc-cygwin/3.2/ ../../../../i686-
pc-cygwin/bin/ld : cannot find -lGLU
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/ ../../../../i686-
pc-cygwin/bin/ld : cannot find -lGL

Thanks

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list