Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-Id: <5.2.0.9.0.20030321160844.02eb2de0@irispavp.igb.umontreal.ca>
X-Sender: bleau2@irispavp.igb.umontreal.ca (Unverified)
Date: Fri, 21 Mar 2003 16:14:12 -0500
To: cygwin@cygwin.com
From: Andre Bleau <bleau@igb.umontreal.ca>
Subject: Re: gluNurbsCallbackData
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
X-MDRemoteIP: 10.52.50.2
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 h2LLDCs22056

Tron Thomas wrote:

>I have written a Windows OpenGL program which I can successfully build and 
>run using both the Borland and Microsoft compilers. When I try to run the 
>same program after building it with the Cygwin GCC compiler, I get a 
>segmentation fault. I'm very puzzled by this as the program works fine 
>when built with other compilers.
>
>Does anyone have experieince with Cygwin and OpenGL and might know what 
>could be causing this problem? The fault occur when I call glTexImage2D to 
>create a 2 dimensional texture.

You must be doing something that is not portable. The OpenGL dll that 
contains glTexImage2D is the same one that is used by Cygwin's gcc, the 
Borland compiler and M$ Visual C compiler.

Send the offending code here (as small a snipet as can be) and I'll look at 
it when I come back on Monday.




André Bleau, Cygwin's OpenGL package maintainer.

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

Please address all questions and problem reports about Cygwin's OpenGL 
package to cygwin@cygwin.com . 


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

