Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 15 Feb 2001 17:06:36 EST From: CaetSith7 AT aol DOT com Subject: OpenGL, -mno-cygwin To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailer: Unknown (No Version) Message-ID: <14.fc14db7.27bdacec@aol.com> 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