The error message from the code is the following:
[ 39%] Building CXX object Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/vtkCocoaRenderWindowInteractor.mm.o
error: garbage collection is no longer supported
make[2]: * [Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/vtkCocoaRenderWindowInteractor.mm.o] Error 1
make[1]: * [Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/all] Error 2
make: *** [all] Error 2
Compiler identification:
bender:VTK-build janhering$ /usr/bin/c++ --version
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
The VTK did compile after removing the -fobjc-gc flag from the VTK_REQUIRED_CXX_OBJFLAGS variable in the CMake configuration.
Any ideas why? Could the other Mac OS X user check their VTK CMake settings?