From mboxrd@z Thu Jan 1 00:00:00 1970 From: CaetSith7@aol.com To: Subject: OpenGL, -mno-cygwin AND GLUT Date: Fri, 16 Feb 2001 12:35:00 -0000 Message-id: <5a.11381833.27bee8ed@aol.com> X-SW-Source: 2001-02/msg00996.html First of all, thanks for the fix Andre. However, I have a new problem related to GLUT. I tried looking again through the archives, but no beans. #gcc code.C -I /usr/include -lopengl32 -lglu32 -lglut32 works fine. But, #gcc -mno-cgywin code.C -I /usr/include -lopengl32 -lglu32 -lglut32 gives undefined references to '__glutInitWithExit@12', '__glutCreateWindowWithExit@8' and '__glutCreateMenuWithExit@8'. I was thinking either I needed to include the -mwindows flag, but that didn't help, neither did using g++ and I couldn't find a similar hack for glut.h like the one you gave for gl.h, which also worked for glu.h by the way. Thanks, Shawn PLEASE CC TO CaetSith7@aol.com I AM NOT A MEMBER OF THE LIST. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple