This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
OpenGL, -mno-cygwin
- To: <cygwin at sourceware dot cygnus dot com>
- Subject: OpenGL, -mno-cygwin
- From: CaetSith7 at aol dot com
- Date: Thu, 15 Feb 2001 17:06:36 EST
I'm working on an OpenGL app, and when I use
>gcc -mwindows code.C -lopengl32 -lglu32
I get an executable that runs fine. However, when I use
>gcc -mno-cygwin -mwindows code.C -lopengl32 -lglu32
I get
>code.C:17 gl/gl.h: No such file or directory
>code.C:18 gl/glu.h: No such file or directory
and the compile fails. I also tried
>gcc -mno-cygwin -mwindows code.C -I /usr/include -lopengl32 -lglu32
but I get warnings about APIENTRY being redefined.
However, the executable seems to work. Can anyone
help me understand what's going on here?
Shawn
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple