[vtkusers] VTK install error
Sean McBride
sean at rogue-research.com
Wed Nov 5 16:36:53 EST 2014
On Wed, 5 Nov 2014 21:24:47 +0000, Rob Rotheram said:
>I have tried compiling the VTK lib I have used Cmake to configure
>
>link to my cmake config: http://www.robrotheram.com/images/fig-1.png
>
>
>Then in xcode to complie I get an error garbage collection is no
>longer supported. with Apple LLVM with the vtkRenderingOpenGL
>
>link to the full error: http://www.robrotheram.com/images/fig-2.png
>
>I am a University Student so dont have much experience with using
>cmake and xcode for building libraries
This has been discussed before and you can find the solution searching the web, ex:
<http://vtk.1045678.n5.nabble.com/error-compiling-VTK-6-1-in-release-td5726321.html>
basically: in CMake, simply remove the -fobjc-gc flag from VTK_REQUIRED_OBJCXX_FLAGS.
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtkusers
mailing list