Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-Id: <4.3.2.7.0.20010802100334.00b391e0@irispavp.igb.umontreal.ca>
X-Sender: bleau2@irispavp.igb.umontreal.ca
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Thu, 02 Aug 2001 10:06:57 -0400
To: Aks3001@aol.com
From: Andre Bleau <bleau@igb.umontreal.ca>
Subject: Re: OpenGL problem
Cc: cygwin@cygwin.com
In-Reply-To: <89.a20aadf.289a11a2@aol.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
X-MDRemoteIP: 10.52.48.85
X-Return-Path: bleau@igb.umontreal.ca
X-MDaemon-Deliver-To: cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id KAA03046

At 22:14 2001-08-01 -0400, you wrote:
>Hi,
>
>     Thanks for the response to my openGL problem.  I tried to link the
>libraries as per the readme document.  I used:
>
>g++ -lglut32 -lglu32 -lopengl32 program.c

Librairies have to be specified _after_ the files that need them. Correct 
command is:

gcc program.c -o program -lglut32 -lglu32 -lopengl32


>Unfortunately I got the same error messages (stating that there undefined
>references to glBegin etc).  I am probabally making some other mistake.  I
>would appreciate more advice in this matter.  I am attaching the earlier
>messages below for convenience.
>
>By the way, I have another minor problem:  I tried setting the cygwin window
>size to fill the screen and now can't seem to go back.  Is there a command
>for this?
>
>Many thanks!
>aks
>
>p.s.  I am using a PC running Windows ME


André Bleau, Cygwin's OpenGL package maintainer.

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



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

