[vtkusers] Building Cocoa example on OSX

Sean McBride sean at rogue-research.com
Tue Mar 10 10:43:04 EDT 2015


On Mon, 9 Mar 2015 21:53:10 -0400, Andy Somogyi said:

>This question has been asked before, but I’ve not seen any resolution. 
>
>I’m trying the build a Cocoa example on OSX 10.9, and I get the
>Undefined symbols for architecture x86_64:
>
>"_OBJC_CLASS_$_vtkCocoaGLView", referenced from:
>      _OBJC_CLASS_$_BasicVTKView in BasicVTKView.o
>"_OBJC_METACLASS_$_vtkCocoaGLView", referenced from:
>      _OBJC_METACLASS_$_BasicVTKView in BasicVTKView.o

The SimpleCocoaVTK example?  Are you trying to build it from it's Xcode project or with CMake?  In any case, IIRC, it was broken for a while but fixed in git master months ago.  Could you try VTK 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