[Mesa-users] What version is available on macOS?

Langer, Stephen A. (Fed) stephen.langer at nist.gov
Fri Aug 31 14:17:05 UTC 2018


Hi --

I'm trying to use the vtk graphics library on macOS, with all dependencies (including mesa and X11 libraries) installed by MacPorts.   MacPorts provides mesa 17.1.6, which supports OpenGL 4.5.  vtk requires OpenGL 3.2 or later, so all should be ok.  However, vtk says it can't find a recent enough version of OpenGL, and indeed glxinfo says "OpenGL version string: 2.1 ATI-1.68.20".   Is it possible to use OpenGL 3.2 on macOS?   If it is possible, can someone tell me how to change the vtk code so that it works?  I know roughly where vtk initializes OpenGL, but I don't really understand what it's doing.

I *can* get vtk to work if I compile it for quartz and not X11, using Apple's OpenGL libraries instead of mesa, but for numerous reasons it would be very convenient if I can get it to work on X11.

I've asked on the vtk and MacPorts lists, but nobody seems to know the answer.  Someone suggested I try here.

Many thanks,
     Steve



More information about the mesa-users mailing list