Can't use vtkExternalOpenGLRenderer - vtkRenderingExternalModule.h is missing

Hello,
I am on ubuntu and I can’t use the vtkExternalOpenGLRenderer (or other vtkExternal… class) because the file vtkRenderingExternalModule.h is missing.

Is this file supposed to be automatically generated during build ? Or can you tell me where to find it ?

I have recompiled the VTK lib from source with no problem but this file is always missing.

Thanks in advance

you need to enable the following cmake variable:

VTK_MODULE_ENABLE_VTK_RenderingExternal

Ok, it’s working.
Thanks !