This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Segmentation fault using OpenGL
- From: "Norman Vine" <nhv at cape dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 21 Mar 2003 16:18:48 -0500
- Subject: RE: Segmentation fault using OpenGL
- Reply-to: <nhv at cape dot com>
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/