what version of OpenGL is in mesa?

Langer, Stephen A. (Fed) stephen.langer at nist.gov
Fri Jan 26 19:54:32 UTC 2018


I should have included the exact error message.  This is what vtk says when it encounters OpenGL from macports mesa:

Warning: In … Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 800
vtkXOpenGLRenderWindow (0x7fca59821e00): VTK is designed to work with OpenGL version 3.2 but it appears it has been given a context that does not support 3.2. VTK will run in a compatibility mode designed to work with earlier versions of OpenGL but some features may not work.

 -- Steve

On 1/26/18, 11:38 AM, "macports-users on behalf of Langer, Stephen A. (Fed)" <macports-users-bounces at lists.macports.org on behalf of stephen.langer at nist.gov> wrote:
    
    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