This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
opengl in 1.7 on Win7 again
- From: "Luke J. West" <luke at west dot me dot uk>
- To: cygwin-xfree at cygwin dot com
- Date: Thu, 05 Nov 2009 11:32:11 +0000
- Subject: opengl in 1.7 on Win7 again
- Reply-to: cygwin-xfree at cygwin dot com
Hi,
I forgot to mention in my previous email that glxgears works fine - even
though my sample opengl program bombs out like this...
sh-3.2$ ./sample.bin
freeglut (./sample.bin): ERROR:
Internal error <Visual with necessary capabilities not found> in
function fgOpenWindow
Segmentation fault (core dumped)
Where's the first place you would check if you had this problem? *any*
help appreciated. any suggestions as to where to look or what to check
will be most helpful.
Thanks again,
Luke
-- previous msg...
Hi,
I've just installed Cygwin 1.7 (Win7 Hmoe Premium) and am trying to get
started with OpenGL.
I have a sample OpenGL program (sample.c) and I get the following.
sh-3.2$ gcc -o sample.bin sample.c -lglut -lglu -lgl
sh-3.2$ ./sample.bin
freeglut (./sample.bin): ERROR: Internal error <Visual with necessary
capabilities not found> in function fgOpenWindow
Segmentation fault (core dumped)
sh-3.2$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: Brian Paul
...
64 GLX Visuals
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x21 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0xc2 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0xc3 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0xc4 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
....
Any advice or suggestions would be very much appreciated
Luke
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/