[vtkusers] SOLUTION TO: (was OS X, Qt & 'was not compiled with -fobjc-gc or -fobjc-gc-only, but the application requires GC' error?)

kent williams nkwmailinglists at gmail.com
Mon Apr 26 12:57:08 EDT 2010


The problem was found and solved here:

http://www.vtk.org/pipermail/vtk-developers/2010-February/007413.html

The problem comes from VTK's Cocoa support, and is solved by adding:

-DVTK_REQUIRED_OBJCXX_FLAGS:STRING=""

to the CMake command line (or explicitly setting that flag if you run
CMake interactively).



More information about the vtkusers mailing list