This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

opengl in 1.7 on Win7 again


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]