build vtk v9.0.0 + Examples for iOS

I’m trying to compile VTK 9.0.0 for iOS, as per the instructions inside README file under Examples/iOS folder which means run cmake with -DVTK_IOS_BUILD=ON.

When I run make -j8, I got the following error:

vtk/Rendering/OpenGL2/vtkOpenGL.h:29:10: fatal error: 'GL/gl.h' file not found

Is it because Apple moved away from OpenGL an vtk doesn’t work for iOS anymore?

Hi,

I have exactly the same problem.
Did you have a solution?
I want to use VTK on ios…