[vtkusers] SimpleCocoaVTK linker issues

Sean McBride sean at rogue-research.com
Wed Nov 18 17:19:17 EST 2015


On Wed, 18 Nov 2015 12:25:17 -0700, Larry said:

>I am trying to compile the SimpleCocoaVTK project, and I am running into
>this linker issue:
>
>Undefined symbols for architecture x86_64:
>  "_OBJC_CLASS_$_vtkCocoaGLView", referenced from:
>      _OBJC_CLASS_$_BasicVTKView in BasicVTKView.o

If you open the project in Xcode, and in the 'project navigator' navigate to the folder containing all the VTK .a libraries, are they shown in red text?  If so, it means Xcode doesn't know where the files are and perhaps you didn't set the source tree correctly.  Also, Xcode sometimes needs a relaunch and clean after changing source tree settings.

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