This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: gcc, opengl, glut, gl & glu
- From: James Shaw <qumqam at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 23 Nov 2002 15:11:51 -0800 (PST)
- Subject: 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/