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]

Re: gcc, opengl, glut, gl & glu


> 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

Hi Samuel,

No problem.  My Makefile has:
  gcc hellogl.cpp -o hellogl 
-lglut32 -lglu32 -lopengl32 -mno-cygwin

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus  Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
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]