# 9.0.0.rc1 ContextOpenGL2 not built

**URL:** https://discourse.vtk.org/t/9-0-0-rc1-contextopengl2-not-built/2933
**Category:** Support
**Created:** [April 1, 2020, 9:09am UTC](https://discourse.vtk.org/t/9-0-0-rc1-contextopengl2-not-built/2933 "2020-04-01T09:09:23Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![estan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/estan/32/460_2.png) [@estan](https://discourse.vtk.org/u/estan)
#### Post date: [April 1, 2020, 9:10pm UTC](https://discourse.vtk.org/t/9-0-0-rc1-contextopengl2-not-built/2933/3 "2020-04-01T21:10:47Z")

</div>

I ran into a similar issue and had to explicitly add `-DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=YES` to my CMake line (see post here: [https://discourse.vtk.org/t/two-questions-about-new-module-system](https://discourse.vtk.org/t/two-questions-about-new-module-system)).

This was unlike with VTK 8.x (which used the old module system), where the `RenderingContextOpenGL2` module was brought in transitively through some dependency.

---

_[View the full topic](https://discourse.vtk.org/t/9-0-0-rc1-contextopengl2-not-built/2933)._
