When compiling VTK 9.4.1 on Linux, there is no prompt for the VTK_OPENGL_USE_GLES option, and there are other compilation errors.

Compiling VTK 9.4.0 works fine.

When compiling VTK 9.4.1 with CMake on Linux, there is no prompt for the VTK_OPENGL_USE_GLES option. After adding it manually, there are many errors.

During compilation, VTK_OPENGL_HAS_EGL and VTK_OPENGL_USE_GLES were enabled.

I feel that there is an issue with the CMakeLists.txt. How can I fix it?

The errors are as follows:


Disable the RenderingLICOpengl2 module. Surface LIC mapper is not supported in a GLES build

The CMake code should error in that case. No sense letting users get this far into a (known) broken build.

I was partly wrong - it is supported only with GLES contexts >= 3.2