[vtkusers] Mac OSX QT 4.8.4, VTK 5.10.1 and f-objc-gc flag

Richard Frank rickfrank at me.com
Thu Jan 17 14:51:40 EST 2013


I don't have access to that machine right now, but maybe some of the VTK. Cocoa examples require gc? As I built VTK with use cocoa , use Qt , and build examples on....

Rick Frank

On Jan 17, 2013, at 12:43 PM, Sean McBride <sean at rogue-research.com> wrote:

> On Sat, 5 Jan 2013 17:05:41 -0500, Richard Frank said:
> 
>> It seems that Qt 4.8.4 cannot be built with objective c garbage collection.
>> 
>> But VTK seems to require it. 
>> 
>> This seems to make the two incompatible.
> 
> VTK does *not* require Obj-C garbage collection.  On OS X, a process is either garbage collected or not.  But library code (like VTK) can be written to support one, the other, or both.  VTK supports both, which is what -fobjc-gc means.  If VTK required GC, it would use -fobjc-gc-only.
> 
> I'm surprised that VTK's use of -fobjc-gc causes you any problem.  What exactly is the error you are seeing?
> 
> 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