[vtkusers] Building Cocoa example on OSX

Sean McBride sean at rogue-research.com
Tue Mar 10 16:17:59 EDT 2015


On Tue, 10 Mar 2015 16:15:22 -0400, Andy Somogyi said:

>I’m building it now with clang.

But via SimpleCocoaVTK's Xcode project or by using CMake to generate a makefile?

>Note, clang (the only default compiler on OSX) defaults to C++11, and
>VTK does not appear to build in C++11 mode, so I had to add the -std=c+
>+03 flag, and seems to be building OK. 

VTK has built fine as C++11 for a long time... but 6.1 is over a year old, so maybe not that long.  I do suggest you update to 6.2.

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