[vtkusers] SimpleCocoaVTK linker issues

Sean McBride sean at rogue-research.com
Fri Nov 20 11:24:58 EST 2015


On Thu, 19 Nov 2015 12:55:14 -0700, Larry said:

>I figured out a fix. Remove all of the vtk .dylibs

Remove all which dylibs?  The SimpleCocoaVTK has no dylibs, only static libs (.a).

>The linker looks for the dynamic libraries first when linking, so you either
>have to manually put in the /path/to/vtklibrary.a or, you remove the dylibs
>so it will not link to them.
>
>Don't know why linking to the dynamic libraries don't work, but static
>does...

As per the example's read me, it was meant to be used with static libs.  I'm confused as to how you got any dylibs in there.  I could improve the read me based on your feedback...

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