This is the mail archive of the cygwin@sources.redhat.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]

OpenGL, -mno-cygwin


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


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