delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/16/12:17:53

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
Message-Id: <4.3.2.7.0.20010216114650.00b0c100@irispavp.igb.umontreal.ca>
X-Sender: bleau2 AT irispavp DOT igb DOT umontreal DOT ca
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Fri, 16 Feb 2001 12:08:55 -0500
To: cygwin AT sources DOT redhat DOT com
From: Andre Bleau <bleau AT igb DOT umontreal DOT ca>
Subject: Re: OpenGL, -mno-cygwin ***Aside: mailing list search engine
is broken
Mime-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id MAA13672

>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

Shawn,

This has been discussed just last month, see:

http://sources.redhat.com:80/ml/cygwin/2001-01/msg00626.html

My usual answer in such a case is "Please look at the mailing list 
archives", but I cannot use it this time, because the search engine seems 
unable to find that message.

The title of the message is "Re: Compiling OpenGL applications"

I tried searching the whole mailing list with "Compiling OpenGL 
applications" and got no hit. There is one hit for "Compiling OpenGL" but 
it is not that message. Only one hit also for "APIENTRY -mno-cygwin", both 
words being in the text of the target message, but the hit is for another 
message. 50 hits for "APIENTRY" alone, but none af the is the target 
message. Seems the serach engine has some problems...


André Bleau, ing.

email: bleau at igb dot umontreal dot ca
(Fight SPAM: encode your email-address)


--
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