[vtk-developers] libc++ problem on OSX
Sean McBride
sean at rogue-research.com
Wed Sep 17 14:38:08 EDT 2014
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
More information about the vtk-developers
mailing list