Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.2.0.9.0.20030321160844.02eb2de0@irispavp.igb.umontreal.ca> X-Sender: bleau2 AT irispavp DOT igb DOT umontreal DOT ca (Unverified) Date: Fri, 21 Mar 2003 16:14:12 -0500 To: cygwin AT cygwin DOT com From: Andre Bleau 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 AT igb DOT umontreal DOT ca X-MDaemon-Deliver-To: cygwin AT cygwin DOT 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 AT cygwin DOT 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/