[vtkusers] Nubie OS X question.

Barry evansbj at telusplanet.net
Mon Oct 25 21:00:37 EDT 2010


Hello all

I fixed my problem

I just had to make sure that I consistently set the correct base SDK for the project and the target.

I have them both set to Current Mac OS.

Rebuilt it.

Then the problem went away. I can build and run the Cocoa GUI test application from cmake and Xcode now.

Thanks all.

On 2010-10-25, at 11:33 AM, Barry wrote:

> Thanks Sean
> 
> Much better
> 
> When using cmake it works just fine.
> 
> I get a functioning Cocoa application
> And I see the graphics.
> 
> But if I use the xcode file
> 
> I had to point the VTK library reference to my local installed copies.
> 
> And when I compile I get these linker errors:
> 
> Undefined symbols:
> "_objc_msgSendSuper2", referenced from:
>     -[vtkCocoaGLView resetCursorRects] in libvtkRendering.a(vtkCocoaGLView.mm.o)
>     -[vtkCocoaGLView initWithFrame:] in libvtkRendering.a(vtkCocoaGLView.mm.o)
>     -[vtkCocoaServer initWithRenderWindow:] in libvtkRendering.a(vtkCocoaRenderWindowInteractor.mm.o)
>     -[vtkCocoaTimer initWithInteractor:timerId:] in libvtkRendering.a(vtkCocoaRenderWindowInteractor.mm.o)
>    (maybe you meant: l_objc_msgSendSuper2_fixup_init, _objc_msgSendSuper2_fixup , l_objc_msgSendSuper2_fixup_drawRect_ , l_objc_msgSendSuper2_fixup_dealloc , l_objc_msgSendSuper2_fixup_close , l_objc_msgSendSuper2_fixup_windowControllerDidLoadNib_ , l_objc_msgSendSuper2_fixup_initWithFrame_ )
> "___bzero", referenced from:
>     _vtk_jpeg_gen_optimal_table in libvtkjpeg.a(jchuff.c.o)
> ld: symbol(s) not found
> 
> 
> I think I'm missing a standard library reference, but I'm not sure which one.
> 
> Have you seen this before?
> 
> Thanks for all of your help.
> 
> Barry
> 
> 
> Never give a sword to a man who can't dance. 
> Confucius 
> 
> On 2010-10-25, at 10:26 AM, Sean McBride wrote:
> 
>> On Mon, 25 Oct 2010 09:52:59 -0600, Barry said:
>> 
>>> Just double checked where I got everything..
>>> 
>>> 
>>> https://www.rogue-research.com/vtk/SimpleCocoaVTK.html
>>> For SimpleCocoaVTK
>> 
>> I should remove that page.... you should use SimpleCocoaVTK from vtk
>> itself.  In the git repo you cloned, it is here:
>> 
>> /Examples/GUI/Cocoa
>> 
>> The newest version is always there.
>> 
>> --
>> ____________________________________________________________
>> Sean McBride, B. Eng                 sean at rogue-research.com
>> Rogue Research                        www.rogue-research.com
>> Mac Software Developer              Montréal, Québec, Canada
>> 
>> 
> 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

"It really is a nice theory. The only defect I think it has is probably common to all philosophical theories. It's wrong."

Saul Kripke






More information about the vtkusers mailing list