[vtkusers] Latest Xcode version prevent VTK to build

Sebastien Jourdain sebastien.jourdain at kitware.com
Tue Mar 11 23:40:19 EDT 2014


Hi Sean,

Sorry to contact you directly, but you seems to be the most knowledgeable
about Mac and VTK...
;-)

I don't know if you already update one of your Mac with the latest Xcode
but if you do you might run into trouble.

Here is the error that I'm getting with the latest update (10.9.2).

===========
[seb at melmac build-ninja]$ ninja -j1
[1/16041] Building CXX object
VTK/Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/vtkCocoaRenderWindowInteractor.mm.o
FAILED: /usr/bin/c++   -DVTK_IN_VTK -DvtkRenderingOpenGL_EXPORTS -g -fPIC
-I. -IVTK/Imaging/Hybrid
-I/Users/seb/work/code/ParaView/src/VTK/Imaging/Hybrid -IVTK/IO/Image
-I/Users/seb/work/code/ParaView/src/VTK/IO/Image -IVTK/Common/DataModel
-I/Users/seb/work/code/ParaView/src/VTK/Common/DataModel -IVTK/Common/Math
-I/Users/seb/work/code/ParaView/src/VTK/Common/Math -IVTK/Common/Core
-I/Users/seb/work/code/ParaView/src/VTK/Common/Core -IVTK/Utilities/KWSys
-I/Users/seb/work/code/ParaView/src/VTK/Utilities/KWSys -IVTK/Common/Misc
-I/Users/seb/work/code/ParaView/src/VTK/Common/Misc -IVTK/Common/System
-I/Users/seb/work/code/ParaView/src/VTK/Common/System
-IVTK/Common/Transforms
-I/Users/seb/work/code/ParaView/src/VTK/Common/Transforms
-IVTK/Common/ExecutionModel
-I/Users/seb/work/code/ParaView/src/VTK/Common/ExecutionModel
-IVTK/Utilities/DICOMParser
-I/Users/seb/work/code/ParaView/src/VTK/Utilities/DICOMParser -IVTK/IO/Core
-I/Users/seb/work/code/ParaView/src/VTK/IO/Core -IVTK/ThirdParty/zlib
-I/Users/seb/work/code/ParaView/src/VTK/ThirdParty/zlib
-IVTK/Utilities/MetaIO/vtkmetaio -IVTK/Utilities/MetaIO
-I/Users/seb/work/code/ParaView/src/VTK/Utilities/MetaIO
-IVTK/ThirdParty/jpeg
-I/Users/seb/work/code/ParaView/src/VTK/ThirdParty/jpeg
-IVTK/ThirdParty/png -I/Users/seb/work/code/ParaView/src/VTK/ThirdParty/png
-IVTK/ThirdParty/tiff
-I/Users/seb/work/code/ParaView/src/VTK/ThirdParty/tiff -IVTK/Imaging/Core
-I/Users/seb/work/code/ParaView/src/VTK/Imaging/Core
-IVTK/Utilities/ParseOGLExt
-I/Users/seb/work/code/ParaView/src/VTK/Utilities/ParseOGLExt
-IVTK/Rendering/Core -I/Users/seb/work/code/ParaView/src/VTK/Rendering/Core
-IVTK/Filters/Extraction
-I/Users/seb/work/code/ParaView/src/VTK/Filters/Extraction
-IVTK/Filters/Core -I/Users/seb/work/code/ParaView/src/VTK/Filters/Core
-IVTK/Filters/General
-I/Users/seb/work/code/ParaView/src/VTK/Filters/General
-IVTK/Common/ComputationalGeometry
-I/Users/seb/work/code/ParaView/src/VTK/Common/ComputationalGeometry
-IVTK/Filters/Statistics
-I/Users/seb/work/code/ParaView/src/VTK/Filters/Statistics
-IVTK/Imaging/Fourier
-I/Users/seb/work/code/ParaView/src/VTK/Imaging/Fourier
-IVTK/ThirdParty/alglib
-I/Users/seb/work/code/ParaView/src/VTK/ThirdParty/alglib
-IVTK/Filters/Geometry
-I/Users/seb/work/code/ParaView/src/VTK/Filters/Geometry
-IVTK/Filters/Sources
-I/Users/seb/work/code/ParaView/src/VTK/Filters/Sources
-IVTK/Utilities/EncodeString
-I/Users/seb/work/code/ParaView/src/VTK/Utilities/EncodeString
-IVTK/Rendering/OpenGL
-I/Users/seb/work/code/ParaView/src/VTK/Rendering/OpenGL
 -fvisibility=hidden -fvisibility-inlines-hidden -fobjc-gc -MMD -MT
VTK/Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/vtkCocoaRenderWindowInteractor.mm.o
-MF
"VTK/Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/vtkCocoaRenderWindowInteractor.mm.o.d"
-o
VTK/Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/vtkCocoaRenderWindowInteractor.mm.o
-c
/Users/seb/work/code/ParaView/src/VTK/Rendering/OpenGL/vtkCocoaRenderWindowInteractor.mm
error: garbage collection is no longer supported
ninja: build stopped: subcommand failed.
===========

By any chance, do you have any idea on how to fix that issue?

Thanks,

Seb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140311/25191b4f/attachment.html>


More information about the vtkusers mailing list