[vtk-developers] libc++ problem on OSX

Robert Maynard robert.maynard at kitware.com
Wed Sep 17 14:52:45 EDT 2014


I completely forgot about VTK_REQUIRED_OBJCXX_FLAGS.

On Wed, Sep 17, 2014 at 2:38 PM, Sean McBride <sean at rogue-research.com>
wrote:

> On Wed, 17 Sep 2014 14:17:21 -0400, Robert Maynard said:
>
> >If my memory is correct CMake doesn't have explicit global objc or objc++
> >flag variables. Instead what you can try todo is to set the  COMPILE_FLAGS
> > property on each mm file to be "-stdlib=libstdc++"
>
> CMake doesn't (bug 4756) but VTK does: "VTK_REQUIRED_OBJCXX_FLAGS"
>
> <http://public.kitware.com/Bug/view.php?id=4756>
>
> VTK does work with libc++ and I have several dashboards that use it.  The
> link error does suggest however that some files are using libstdc++ and
> some others using libc++.  Maybe try adding -stdlib=libc++ to
> VTK_REQUIRED_OBJCXX_FLAGS also, though I don't believe I've had to do
> that...
>
> Cheers,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng                 sean at rogue-research.com
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20140917/888a4c57/attachment-0002.html>


More information about the vtk-developers mailing list