what version of OpenGL is in mesa?

Langer, Stephen A. (Fed) stephen.langer at nist.gov
Fri Jan 26 16:38:13 UTC 2018


Hi --

What version of OpenGL is in the mesa port?  When I build an X11 version of vtk, it fails to run because it says that the OpenGL library doesn't support OpenGL2 or later.   Grepping for VERSION in /opt/local/include/GL/gl.h implies that only OpenGL 1 is supported, but the rest of the GL headers have lots of lines like #ifdef GL_VERSION_4_0, so the source code is certainly later than GL1.  Is it possible to activate later versions of OpenGL in the mesa port?

Building a quartz version of vtk and linking to /System/Library/Frameworks/OpenGL.framework works, but the framework doesn't work with the X11 version of vtk. 

Thanks. 

 -- Steve



More information about the macports-users mailing list