[vtkusers] Can't find _OBJC_CLASS_$_vtkCocoaGLView
sean at rogue-research.com
Thu May 20 10:20:55 EDT 2010
On Wed, 19 May 2010 19:18:17 -0600, Scott Harris said:
>I'm trying to build a Cocoa+VTK+PyObjC project in XCode, and I'm stuck
>on this linker error:
> "_OBJC_CLASS_$_vtkCocoaGLView", referenced from:
> _OBJC_CLASS_$_BasicVTKView in BasicVTKView.o
> "_OBJC_METACLASS_$_vtkCocoaGLView", referenced from:
> _OBJC_METACLASS_$_BasicVTKView in BasicVTKView.o
>ld: symbol(s) not found
>collect2: ld returned 1 exit status
>I've been poking around, but I can't figure out where this should be
>defined. I'm linking to all of the .a files in the VTK lib directory.
>There must be something obvious that I'm missing?
vtkCocoaGLView is part of libvtkRendering.a, but only if you build with
VTK_USE_COCOA=ON. Did you?
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