I am on a linux system whose system GL version is insufficient for VTK.
I have compiled Mesa-17.2.8 (with LLVM 5.0.0)
I have tried adding to the cmake command when building VTK:
-DOPENGL_INCLUDE_DIR=/path/to/mesa/include
-DOPEN_gl_LIBRARY=/path/to/mesa/lib/libGL.so
This is how I compiled VTK-8 in the past for this system (for on screen rendering).
I see this during cmake’s configure:
- Found OpenGL: /usr/lib64/libOpenGL.so found components: OpenGL GLX
so it appears that Mesa GL won’t be used.
How can I compile VTK-9 with Mesa as GL for onscreen rendering?
I am using CMake 3.12.4.