This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin 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]

gcc, opengl, glut, GL & GLU


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/


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