[vtkusers] error compiling VTK 6.1 in release

Waldo Valenzuela waldo.valenzuela at hotmail.com
Tue Mar 18 14:47:01 EDT 2014


Hi Sean,

Thanks for the reply, exactly that is the answer. After looking for a while in google I found the same. I to solver I download xcode 5.0.2 for the moment. I will try your solution in other machine. 

Thanks very much.

Best regards,

Waldo.


On 17 Mar 2014, at 15:30, Sean McBride <sean at rogue-research.com> wrote:

> On Sat, 15 Mar 2014 16:27:33 +0100, Waldo Valenzuela said:
> 
>> I am trying to compile VTK 6.1 for mac 0SX 10.9, and in debug not
>> problem, but in release I get the following error:
>> 
>> error: garbage collection is no longer supported
>> 
>> There is a special configuration in CMAKE or XCODE to fix it.
> 
> Is is because you are using the very-new Xcode 5.1 and it has removed Cocoa garbage collection support.  VTK does not require Cocoa garbage collection, but was configured to built with support for it on.  You can 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