[vtkusers] OSX 10.6 TCL issue "libvtkRendering.5.4.dylib: GC capability mismatch" ( solution too )

David Gobbi david.gobbi at gmail.com
Fri Mar 5 09:39:52 EST 2010


On Wed, Mar 3, 2010 at 12:36 PM, David Gobbi <david.gobbi at gmail.com> wrote:
>On Wed, Mar 3, 2010 at 12:08 PM, Sean McBride <sean at rogue-research.com> wrote:
>
>> In fact, it might be wise for vtk to configure itself with -fobjc-gc by
>> default.  One problem is that this flag is supported only as of 10.5.
>> But perhaps some CMake wizardry could be done to check the deployment
>> target and use -fobjc-gc only if it's >= 10.5.
>
> The check is easy to do, the CMakeLists.txt already has SDK version
> checks.  So if the SDK is >= 10.5, VTK_REQUIRED_OBJCXX_FLAGS should
> appear as an advanced option with a default setting of "-fobjc-gc".  I
> can put this in sometime over the next few days.

Just replying to myself: The -fobjc-gc flag setting is now in VTK cvs.

   David



More information about the vtkusers mailing list