VTK 7.1.0 iOS build failing
I'm trying to compile VTK 7.1.0 for iOS, as per the instructions at https://blog.kitware.com/building-vtk-for-mobile-architectures/, using Cmake as usual.
I'm seeing the following issue:
[ 90%] Built target vtkglew [ 90%] Building CXX object
Rendering/OpenGL2/CMakeFiles/vtkRenderingOpenGL2.dir/vtkOpenGLPolyDataMapper.cxx.o
/Users/nclex/Documents/dev/VTK/VTK-7.1.0/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx:1582:36: error:
use of undeclared identifier 'GL_MULTISAMPLE'
bool multisampling = glIsEnabled(GL_MULTISAMPLE) == GL_TRUE;
I'm using Xcode 8.1 on MacOS 10.12.1 (Sierra). The VTK code I'm compiling is at the '7.1.0' link located at http://www.vtk.org/download/. I've also tried compiling the bleeding edge master version from gitlab, but that fails with similar errors (undeclared OpenGL identifiers/functions).