[vtkusers] vtkusers Digest, Vol 156, Issue 13

Ben Boeckel ben.boeckel at kitware.com
Tue Apr 18 11:06:56 EDT 2017


On Tue, Apr 11, 2017 at 12:37:27 -0500, Cartik Sharma wrote:
> I'm trying to build VTK 5.10.1 on Mac OS X El Capitan and am getting a
> compilation error..
> 
> [ 66%] Building CXX object
> Rendering/CMakeFiles/vtkRendering.dir/vtkCocoaRenderWindowInteractor.mm.o
> 
> clang: error: garbage collection is no longer supported
> 
> make[2]: ***
> [Rendering/CMakeFiles/vtkRendering.dir/vtkCocoaRenderWindowInteractor.mm.o]
> Error 1
> 
> make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2
> 
> make: *** [all] Error 2
> 
> Please let me know the fix so I can build VTK.

It looks like VTK5 is too old to support compilation on newer Apple
platforms. The only fix is likely going to be moving to newer VTK
releases (or getting an older Apple platform).

--Ben


More information about the vtkusers mailing list