<div dir="ltr">Hello, world.<div><br></div><div>I've been struggling to install VTK on CentOS 7.2 for several days. I've followed several recommendations on the web, including this one point to from the VTK FAQ: <a href="https://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D">https://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D</a>. In most cases I end up with the following OpenGL2 error no matter which version of Mesa is installed:</div><div><br></div><div>
<span style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ERROR: In /work/standalone-x64-build/VTK-source/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 797</span><br style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">vtkXOpenGLRenderWindow (0x18f1c10): GL version 2.1 with the gpu_shader4 extension is not supported by your graphics driver but is required for the new OpenGL rendering backend. Please update your OpenGL driver. If you are using Mesa please make sure you have version 10.6.5 or later and make sure your driver in Mesa supports OpenGL 3.2.</span><br style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br><br>In any case, I found the PyPi wheels for 8.1.0 and simply installed with pip. I am still getting the OpenGL2 error when using Python 3.5, but the code runs under Python 2.7 (system version). <br><br style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">glxinfo reports:</span><br style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">OpenGL vendor string: VMware, Inc.</span><br style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.6, 128 bits)</span><br style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">OpenGL version string: 2.1 Mesa 10.6.5</span><br style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">OpenGL shading language version string: 1.30</span><br style="color:rgb(32,32,32);background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">
</div><div>Any pointers? According to <a href="https://prabhuramachandran.blogspot.com/2018/01/vtk-810-wheels-for-all-platforms-on-pypi.html">https://prabhuramachandran.blogspot.com/2018/01/vtk-810-wheels-for-all-platforms-on-pypi.html</a> this should work for Python 3.5.x.</div><div><br></div><div>Thanks.</div><div><br></div><div><br></div></div>