# 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.

**URL:** https://discourse.vtk.org/t/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/15296
**Category:** Support
**Created:** [February 22, 2025, 9:21am UTC](https://discourse.vtk.org/t/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/15296 "2025-02-22T09:21:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Ynnnnnn](https://discourse.vtk.org/user_avatar/discourse.vtk.org/ynnnnnn/32/9587_2.png) [@Ynnnnnn](https://discourse.vtk.org/u/Ynnnnnn)
#### Post date: [February 22, 2025, 9:21am UTC](https://discourse.vtk.org/t/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/15296/1 "2025-02-22T09:21:48Z")

</div>

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:

 ![1](https://discourse.vtk.org/uploads/default/original/2X/3/3a01af7e5ae87a16438f484949c394506cb7c441.png)  
 ![2](https://discourse.vtk.org/uploads/default/original/2X/6/6ebc08e2d0115b3c0a1d53daa7001ce7abc7ad06.png)

---

<div class="post-metadata">

### Author: ![jaswantp](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jaswantp/32/10046_2.png) [@jaswantp](https://discourse.vtk.org/u/jaswantp)
#### Post date: [February 22, 2025, 11:57am UTC](https://discourse.vtk.org/t/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/15296/2 "2025-02-22T11:57:49Z")

</div>

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

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [March 3, 2025, 10:59pm UTC](https://discourse.vtk.org/t/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/15296/3 "2025-03-03T22:59:12Z")

</div>

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

---

<div class="post-metadata">

### Author: ![jaswantp](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jaswantp/32/10046_2.png) [@jaswantp](https://discourse.vtk.org/u/jaswantp)
#### Post date: [March 4, 2025, 2:19am UTC](https://discourse.vtk.org/t/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/15296/4 "2025-03-04T02:19:42Z")

</div>

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