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 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 Subject: Re: OpenGL, -mno-cygwin ***Aside: mailing list search engine is broken Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit 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