| delorie.com/archives/browse.cgi | search | 
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm | 
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> | 
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> | 
| List-Post: | <mailto:cygwin AT cygwin DOT com> | 
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> | 
| Sender: | cygwin-owner AT cygwin DOT com | 
| Mail-Followup-To: | cygwin AT cygwin DOT com | 
| Delivered-To: | mailing list cygwin AT cygwin DOT com | 
| Reply-To: | <nhv AT cape DOT com> | 
| From: | "Norman Vine" <nhv AT cape DOT com> | 
| To: | <cygwin AT cygwin DOT com> | 
| Subject: | RE: Segmentation fault using OpenGL | 
| Date: | Fri, 21 Mar 2003 16:18:48 -0500 | 
| Message-ID: | <EKEJIKAILPONGGENMBGAEEJLCOAA.nhv@cape.com> | 
| MIME-Version: | 1.0 | 
| X-Priority: | 3 (Normal) | 
| X-MSMail-Priority: | Normal | 
| In-Reply-To: | <3E7B7CB0.9050002@verizon.net> | 
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 | 
| Importance: | Normal | 
| X-Virus-Scanned: | Cape.Com VirusScan, no known virus found | 
Tron Thomas > > 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. OpenGL works in Cygwin exactly the same as in any other system so this is assuredly another problem I suggest that you run your program under a debugger to see what your problem is. Hint - I would start by examing the arguments passed into the glTexImage2d call that is failing HTH Norman -- 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/
| webmaster | delorie software privacy | 
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |