delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/15/18:02:10

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <cygwin AT sourceware DOT cygnus DOT com>
Mime-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019