# build vtk v9.0.0 + Examples for iOS

**URL:** https://discourse.vtk.org/t/build-vtk-v9-0-0-examples-for-ios/3412
**Category:** Support
**Created:** [May 28, 2020, 1:20pm UTC](https://discourse.vtk.org/t/build-vtk-v9-0-0-examples-for-ios/3412 "2020-05-28T13:20:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![gpotari](https://discourse.vtk.org/user_avatar/discourse.vtk.org/gpotari/32/3216_2.png) [@gpotari](https://discourse.vtk.org/u/gpotari)
#### Post date: [May 28, 2020, 1:20pm UTC](https://discourse.vtk.org/t/build-vtk-v9-0-0-examples-for-ios/3412/1 "2020-05-28T13:20:57Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![11118](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/1/7993a0/32.png) [@11118](https://discourse.vtk.org/u/11118)
#### Post date: [July 13, 2021, 9:20am UTC](https://discourse.vtk.org/t/build-vtk-v9-0-0-examples-for-ios/3412/2 "2021-07-13T09:20:18Z")

</div>

Hi,

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