[vtkusers] Disabling OSMesa in 6.0.0

Simeon Fitch fitch at datamininglab.com
Mon Jul 29 15:45:47 EDT 2013


Is OSMESA a required module? I'm looking to get a very basic build with
Java support, and am getting compile errors (on MacOS) in that code:

Thanks!


.../VTK6.0.0/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:53:3: error:
      unknown type name 'OSMesaContext'
  OSMesaContext OffScreenContextId;
  ^
.../VTK6.0.0/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:188:42: error:
      use of undeclared identifier 'OSMesaCreateContext'
    this->Internal->OffScreenContextId = OSMesaCreateContext(GL_RGBA, NULL);
                                         ^
.../VTK6.0.0/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:359:48: error:
      use of undeclared identifier 'OSMesaGetCurrentContext'
    result=this->Internal->OffScreenContextId==OSMesaGetCurrentContext();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130729/afd3ab15/attachment.htm>


More information about the vtkusers mailing list