OS X and OpenGL

Mike Kronenberg mike.kronenberg at kberg.ch
Tue Aug 21 12:03:40 CDT 2007


Hello list,

I'm a frequent user of wine and normally build my own copy, as no  
official distribution for Mac OS X exists.

Lately I had to deal with a Program, that needs OpenGL.
I found different hints on the list and around the net, that the  
current Apple X11 libGL is broken, so I tried different flavors of  
xdarwin and x11:  X11R6.8.2 and X11R7.2.

With X11R6.8 (compiled from fink) wine builds without error. (OpenGL  
Headers and libs where found)
When I run the app, I get:
err:wgl:X11DRV_wglGetProcAddress No libGL on this box - disabling  
OpenGL support !
err:wgl:X11DRV_wglGetProcAddress No libGL on this box - disabling  
OpenGL support !
err:wgl:X11DRV_wglGetProcAddress No libGL on this box - disabling  
OpenGL support !
err:wgl:X11DRV_wglGetProcAddress No libGL on this box - disabling  
OpenGL support !
err:wgl:X11DRV_wglGetProcAddress No libGL on this box - disabling  
OpenGL support !
err:wgl:X11DRV_wglGetProcAddress No libGL on this box - disabling  
OpenGL support !
err:wgl:X11DRV_ChoosePixelFormat No libGL on this box - disabling  
OpenGL support !
err:wgl:X11DRV_wglMakeCurrent No libGL on this box - disabling OpenGL  
support !

I modified opengl.c to see whether SONAME_LIBGL was set in as_opengl 
() and it was.

With X11R7.2 (pkg form x.org) wine builds without error. (OpenGL  
Headers and libs where found)
but it seams that libGL has a link to a nonexistent library (/usr/X11/ 
lib/GL), which crashes openGL32.dll when I run the app.

Before I start some more debugging on my system:
Do you have any hints? (Is this a linking problem / Anybody knows a  
working revision of X11 / recent bugs, etc)

Txs
Mike

Intel
Wine 0.9.43
OS X 10.4.10
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2111 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070821/0dac9adf/smime.bin


More information about the wine-devel mailing list